Ask Question
11 December, 09:16

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

+4
Answers (1)
  1. 11 December, 09:33
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers