Examveda
Examveda

Why do we need to handle exceptions?

A. To avoid unexpected behaviour of a program during run-time

B. To let compiler remove all exceptions by itself

C. To successfully compile the program

D. To get correct output

Answer: Option A


Join The Discussion

Related Questions on Exception Handling in C plus plus

What is exception handling in C++?

A. A method to handle errors during runtime

B. A method to handle errors during compile time

C. A method to handle errors during linking

D. A method to handle errors during execution