Q. What is the value of i after this loop?
Code:int i;
for(i = 0; i < 5; i++){}
β
Correct Answer: (B)
5
Explanation: The loop increments i after the last check, ending with i = 5.