Examveda

How do you catch multiple exceptions of different types in C++?

A. Using multiple catch blocks

B. Using a single catch block with multiple exception types

C. Using the 'catch (...) ' block

D. Using nested catch blocks

Answer: Option B


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