Q75
What will be the output of the following C# code? int sum = 10; try int i; for (i = -1; i < 3; ++i) sum = (sum / i); catch (ArithmeticException e) Console.WriteLine("0"); Console.WriteLine(sum); Console.ReadLine();
A.
0
B.
0 5
C.
0 -10
AnswerD.
Compile time error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board