1.

Operator used to free the memory when memory is allocated?(a) new(b) free(c) delete(d) none of the mentioned

Answer» Right option is (c) delete

Easiest explanation - ‘New’ is used to allocate memory in the constructors. Hence, we should use ‘delete’ to free that memory.


Discussion

No Comment Found