Question:What will the following code output?
for (int i = 0; i < 3; i++) 
{
    if (i == 1) continue;
    Console.WriteLine(i);
}
 

A 0 1 2 

B 0 2 

C 1 2 

D 0 1 

+ Answer
+ Explanation
+ Report
Total Preview: 20

Copyright © 2024. Powered by Intellect Software Ltd