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

Breaking Out of a while Loop

C# quiz · Question 43
mediumLoops

What does this code print?

Code

1int i = 0;
2while (true) {
3 if (i == 3) break;
4 Console.Write(i);
5 i++;
6}