C Programming MCQ

1:

Consider the following program fragment

if (a > b)
if (b > c)
s1 ;
else s2;


s2 will be executed if

A.

a <= b

B.

b > c

C.

b <= c and a <=b

D.

a> b and b <= c

 

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.