What does the following code output?
int v = 0; while (v > 0) System.out.println(v++);
C.
A while loop checks the boolean condition before entering the loop.
In this code, that condition is false, so the loop body is never run.
No output is produced, and Option C is correct.