Vidyalelo
C++ Programming · Q25

Exception Handling in C++

Programming · C++ Programming · question 25

Q25

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
Answer
C.
Using the 'catch (...) ' block
D.
Using nested catch blocks

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board