Back to home

Start Practice


Question-1 

What will be the output of the following code fragments; i = j = 10; if (a < 10) {if (b > 50) ++i;} else ++j; cout < < "i=" < <i ; cout < < "j =" < < j ; if the input given is shown below: a = 30, b = 30


(A)

i = 10, j = 10


(B)

i = 10, j = 11

(C)

i = 11, j = 10

(D)

i = 11, j = 11





Powered By