Question:What does the following code do?
for (int i = 0; i < 5; i++)
{
    if (i == 3) break;
    Console.WriteLine(i);
}
 

A Prints 0 1 2 3 

B Prints 0 1 2 

C Prints 0 1 2 3 4 

D Prints nothing 

+ Answer
+ Explanation
+ Report
Total Preview: 20

Copyright © 2025. Powered by Intellect Software Ltd