Solved

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

Question 36

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents