Programming - Exceptions - Discussion

You Are Here :: Home > C++ Language > Exceptions - Discussion

 



Q.

Which statement is used to catch all types of exceptions?                         


A. catch() B. catch(Test t)
C. catch(…) D. none of the mentioned

Answer: Option C
Explaination:

 


This catch statement will catch all types of exceptions that arises in the program.




Discussion

Your Comments Goes here...
NameDiscussion