Correct Answer : C
The program does not produce any output because the variable I
is initialized to 1. The first while
loop which is in the body of the do-while
loop gets encountered, but it does not get executed because I
is not less than 1
. Later the termination condition (I > 1
) of the do-while
loop gets executed and since it is false
as well, the loop terminates.
So, the answer is C.