The above statements will display:int p = 0; for (p = 4; p > 0; p -= 2); System.out.print(p); System.out.println(p);
(c) 0
Explanation:
The for loop runs but does nothing (; at the end).
p starts at 4, then decreases by 2 until p > 0 fails (p = 0).
The final value of p is printed twice as 0.