Vidyalelo
C# Programming · Q114

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 114

Q114

What will be the output of the following C# code? public static void Main(string[] args) double ZERO = 0; Console.WriteLine("RESULT OF DIVISION BY ZERO IS :0", (0 / ZERO)); Console.ReadLine();

A.
1
B.
exception argument is thrown
C.
NaN
Answer
D.
0

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board