Sail E0 Webinar
Question

How to handle error in the destructor?


Options:
A .  throwing
B .  terminate
C .  both a & b
D .  none of the mentioned
Answer: Option B

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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers