MCQs > IT & Programming > C# > What would be the output of following code snippet? { try { int a, b; b = 0; a = 10 / b; Console.WriteLine('A'); } catch(ArithmeticException e) { Console.WriteLine('B'); } Console.ReadLine(); }

C# MCQs

What would be the output of following code snippet? { try { int a, b; b = 0; a = 10 / b; Console.WriteLine("A"); } catch(ArithmeticException e) { Console.WriteLine("B"); } Console.ReadLine(); }

Answer

Correct Answer: b) B

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

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it