Which among the following keyword can be used to free the allocated memory for an object?
(a) delete
(b) free
(c) either delete or free
(d) only delete
I have been asked this question during an interview.
This key question is from Overloading Member Functions topic in portion Member Functions & its Types of Object Oriented Programming