Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Briefly explain how try, catch and throw work together to provide C++ exception handling.

Briefly explain how try, catch and throw work together to provide C++ exception handling.

Answers


Davis
try,catch and throw work together like this: put all statement that you wish to monitor for exceptions within a try block.If an exception occurs, throw that exception using throw and handle it with a corresponding catch statement.
Githiari answered the question on February 5, 2018 at 12:14

Answer Attachments

Exams With Marking Schemes

Related Questions