What will be the output of the following set of 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(); }
Correct Answer: c) 0 -10
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions