MCQs > IT & Programming > C# > What is the output when following statement is executed? static void Main(string[] args){ int i = 1, j; do { for (j = 1; ; j++) { if (i == j) continue; Console.WriteLine(i + ' ' + j); } i++; } while (i < 3); Console.ReadLine(); }

C# MCQs

What is the output when following statement is executed? static void Main(string[] args){ int i = 1, j; do { for (j = 1; ; j++) { if (i == j) continue; Console.WriteLine(i + " " + j); } i++; } while (i < 3); Console.ReadLine(); }
 

 

Answer

Correct Answer: 11 , 12 , 21,13

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More C# MCQ Questions

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it