1.

What does the following C#.NET code snippet will print? int i = 0, j = 0; label: i++; j+=i; if (i < 10) { Console.Write(i +" "); goto label; }

A. Prints 1 to 9
B. Prints 0 to 8
C. Prints 2 to 8
D. Prints 2 to 9
Answer» B. Prints 0 to 8


Discussion

No Comment Found

Related MCQs