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.
Previous Question | Next Question |
Explain Exception handling for a class with an example? | What is Synchronous Exceptions? |