C Programming MCQ

1:

The value of an automatic variable that is declared but not initialized will be

A.

0

B.

-1

C.

unpredictable

D.

none of these

 

Answer : C

Explanation :

Strictly speaking, it will have a garbage value. Some implementations initialize to 0 on declaration.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.