Ask Question
10 July, 14:09

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

+4
Answers (1)
  1. 10 July, 14:18
    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?
Get an answer to your question ✅ “What kind of c+ + error is divided by zero? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers