C++ Exception Handling Question:

Describe exceptions in C++?

Tweet Share WhatsApp

Answer:

Exceptions: Exceptions are certain disastrous error conditions that occur during the execution of a program. They could be errors that cause the programs to fail or certain conditions that lead to errors. If these run time errors are not handled by the program, OS handles them and program terminates abruptly, which is not good. So C++ provides Exception Handling mechanism.

Download C++ Exception Handling PDF Read All 29 C++ Exception Handling Questions
Previous QuestionNext Question
Explain Exception handling for a class with an example?What is Synchronous Exceptions?