C Programming MCQ

1:

 The following statement

if (a > b)
if (c > b)
printf("one");
else
if (c == a) printf('two');
else printf("three");
else printf("four");

A.

 results in a syntax error

B.

prints four in c <= b

C.

prints two if c <= h

D.

prints four in a <= b

 

Answer : D

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.