Home Modern Forums ISRO

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
Reply To:

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

Up
0
Down
::

nan