Solved

What Happens When You Divide a Floating-Point Value by 0

Question 8

Multiple Choice

What happens when you divide a floating-point value by 0 in C#?


A) No exception occurs, and the special value Infinity is returned as the result.
B) The program will throw an exception of type System.DivideByZeroException.
C) The program will catch the exception, and return Undefined as the result.
D) The program will crash.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions