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:
C#
C# Quiz
Learn C# Online

or Read more about C# Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback