Ding ding ding. Take a look at the question again, particular answer C.
Type: Posts; User: KevinWorkman
Ding ding ding. Take a look at the question again, particular answer C.
Actually, the problem is your int i = 0 at the top. That's not in the original question code.
I would actually vote for C. Are you sure you coded it exactly how it's displayed here? Hint: check your brackets.