What is exception handling?

All QuestionsCategory: Cpp LanguageWhat is exception handling?
Chetan Shidling asked 5 years ago

I need short information.

1 Answers
chetan shidling answered 5 years ago

When an exception occurs, the program will be terminated. There are some situations where an exception occurs, but we don’t want the program to simply ignore the exception and terminate the program. We have to identify the exceptions and take corrective actions and execute the program. This method of identifying the exceptions and taking corrective actions and execute the program without terminating the program is called exception handling.