C Programming MCQ

1:

The following program fragment

int a = 4, b = 6;
printf (" %d ", a != b) ;

A.

outputs an error message

B.

prints 0

C.

prints 1

D.

none of these

 

Answer : C

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.