How to handle error in the destructor?
A. throwing
B. terminate
C. both a & b
D. none of the mentioned
Answer:A
How to handle error in the destructor?
A. throwing B. terminate C. both a & b D. none of the mentioned
Explanation:It will not throw an exception from the destructor but it will the process by using terminate() function.