CS Electrical And Electronics
@cselectricalandelectronics

What is exception handling?

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

I need short information.

1 Answers
chetan shidling answered 4 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.