A
Q. What will happen when this code is executed?
Code:
try
{
int x = 10 / 0;
}
catch(Exception ex)
{
Console.WriteLine("Error");
}
{
int x = 10 / 0;
}
catch(Exception ex)
{
Console.WriteLine("Error");
}
- Correct Answer - Option(C)
- Views: 1
- Filed under category .NET Programming
- Hashtags:
Discusssion
Login to discuss.