ExamVeda
Login
Home
Exception Handling in C Sharp
?

What will be the output of the following C# code?
class Output 
{
    public static void main(String args[]) 
    {
       try 
       {
           int a = 5;
           int b = 10;
           int c = b / a - 5;
           Console.WriteLine("Csharp");
       } 
   }
}

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.