T Thu Ha New member Sep 18, 2021 #1 Select the output for following set of code. Code: static void Main(string[] args) { int i = 9 , j = 7; switch (i - j + 3) { case 9: 7: j += 6; break; case 5: i -= 4; break; } Console.WriteLine(i + "\n" + j); Console.ReadLine(); } A. 5 7 B. 9 13 C. Compile time error D. 9 7
Select the output for following set of code. Code: static void Main(string[] args) { int i = 9 , j = 7; switch (i - j + 3) { case 9: 7: j += 6; break; case 5: i -= 4; break; } Console.WriteLine(i + "\n" + j); Console.ReadLine(); } A. 5 7 B. 9 13 C. Compile time error D. 9 7