1.

What operation can be performed by destructor?(a) Abort the program(b) Resource cleanup(c) Exit from the current block(d) Terminate the program

Answer» The correct choice is (b) Resource cleanup

The explanation is: It will be used to free all the resources that are used by the block of code during execution.


Discussion

No Comment Found

Related InterviewSolutions