Programming - Exceptions - Discussion

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

 



Q.

How to handle error in the destructor?                         


A. throwing B. terminate
C. both a & b D. none of the mentioned

Answer: Option B
Explaination:

 


It will not throw an exception from the destructor but it will the process by using terminate() function.




Discussion

Your Comments Goes here...
NameDiscussion