What operation can be performed by destructor?
A. Abort the program
B. Resource cleanup
C. Exit from the current block
D. None of the mentioned
Answer:A
What operation can be performed by destructor?
A. Abort the program B. Resource cleanup C. Exit from the current block D. None of the mentioned
Explanation:It will be used to free all the resources that are used by block of code during execution.