28
Answer (Choose 1 answer)
What is the output of the following code?
static void Main(string[] args)
{
int a = 1:
int b = 0;
Console.WriteLine(a/b);
Console.ReadLine();
}
A. This code raises an exception at runtime
B. This code will not be compiled.
C. 1/0
D. 0
Elt