2080 5

Object Oriented Programming20805 marksException handling definition and purpose

What is exception handling? Explain types of exception handling and explain with suitable example.

What is exception handling? Explain types of exception handling and explain with suitable example. [5]

Exception handling is the mechanism by which a C++ program reports a fault at the point where it is detected and deals with it at the point where there is enough context to decide what to do. The detecting code executes throw, which creates an exception object; the runtime then searches outward t...

Up nextWhat is friend function? Write a program to add private member of two different classes us