175k views
1 vote
What is the outcome when a floating-point number is divided by zero?

Select one:
a. Infinity
b. An exception is thrown
c. A random "garbage" value is generated
d. This outcome is undefined

1 Answer

5 votes

Answer:

Answer option A: Infinity

User Unfrev
by
3.8k points