How many times the body of the loop will be executed?
 
int i = 0; 
while (++i < 3) 
{ 
       Console.Write(i);
}
 
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes