Ask Question
14 July, 04:12

What kind of c+ + error is divided by zero?

+3
Answers (1)
  1. 14 July, 05:59
    0
    mathematical error or math error

    Explanation:

    In c+ + The " mathematical error or math error " is found when dividing any number by zero The exception handling is used to solved this problem if we not used exception handling then the output of divided by zero is printed infinity.

    we use try catch block in exception handling.

    Exception are the run time error. Try block contain the code where the exception can occur and catch block defined which kind of error is that.

    try

    {

    / / contains the code where exception is occured

    }

    catch ()

    {

    / / contains code or described which kind of error

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What kind of c+ + error is divided by zero? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers