- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
"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;  }"

1.Prints 1 to 9

2.Prints 0 to 8

3.Prints 2 to 8

4.Prints 2 to 9

Posted Date:-2021-02-20 14:28:12


More MCQS Questions and answers

Search