Examveda

Which of the following statements about exception handling in C++ is correct?

A. It is an alternative to error codes

B. It is faster and more efficient than error codes

C. It is used only for compile-time errors

D. It cannot handle runtime errors

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