lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 8
What is the output of the program below?
int i = 0; try { while(true) { if (++i >= 3) { return; } } } catch { } finally { Console.Write(i); }
A. 4
B. 0
C. [No output]
D. 3
Links:
The Return Statement