What is catch keyword in exception handling in C++?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: Cpp LanguageWhat is catch keyword in exception handling in C++?
Chetan Shidling asked 6 years ago

I need short information.

1 Answers
chetan shidling answered 6 years ago

The catch will catch the exception which is thrown from the try block and it will specify which type of exception it as catches.