CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

While Loop Final Value

C quiz · Question 39
mediumLoops

What does this code print?

Code

1int i = 0;
2while (i < 5) {
3 i += 2;
4}
5printf("%d", i);