C Programming MCQ

1:

The following program fragment 

if ( a = 7 )
printf (" a is seven ");
else
printf (" a is not seven ");


results in the printing of

A.

a is even

B.

a is not even

C.

nothing

D.

garbage

 

Answer : A

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.