Sunday, January 8, 2012

What happens if we try to divide a number by 0?

In general, this causes a run-time error and termination of execution. A common error message displayed by the computer when this occurs uses the word overflow, because division by 0 or a number close to 0 produces a very large number. The number being too large to store in the allocated memory causes an interpretation of an overflow problem.

No comments:

Post a Comment