What will be printed out as a result of the following code execution:
 i
nt sum = 0; f
or (int i = 0; i < 3; i++) 
{ 
    sum += i; 
} 
Console.WriteLine("Sum of "+ i +" numbers is " +sum); 
C#
C# Quiz
Start Quiz

or Read more about C# Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback