Vidyalelo
C++ Programming · Q8

Exception Handling in C++

Programming · C++ Programming · question 8

Q8

How do you catch all exceptions in C++?

A.
catch (...)
Answer
B.
catch (Exception e)
C.
catch (AllExceptions)
D.
catch (std::exception)

Answer: Option A

Solution

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