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 got this question by my school teacher while I was bunking the class.
Origin of the question is Memory Allocation of Object in chapter Object of Object Oriented Programming