C Programming MCQ

1:

 The following program fragment

if (a = 0) printf ("a is zero");
else printf ("a is not zero");


results in the printing of

A.

a is zero

B.

a is not zero

C.

nothing

D.

garbage

 

Answer : B

Explanation :

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.