Discussion Forum : Exceptions And Efficiency
Question -

What operation can be performed by destructor?

Options:
A .  Abort the program
B .  Resource cleanup
C .  Exit from the current block
D .  None of the mentioned
Answer: Option B

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



Was this answer helpful ?
Next Question
Submit Your Solution hear:

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