lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 8
What will be the output of the following code?
for (;;) { Console.WriteLine("for(;;)"); break; }
A. [Compiler Error]
B. [No output]
C. for (;;)
D. [Infinite loop]
Links:
The for Statement
The break Statement