What operation can be performed by destructor?
(a) Abort the program
(b) Resource cleanup
(c) Exit from the current block
(d) Terminate the program
I had been asked this question at a job interview.
This question is from Exceptions and Efficiency topic in portion Derived Classes, Templates & Exception Handling in C++ of C++