Which of the following function can be used for dynamic memory allocation of objects?
(a) malloc()
(b) calloc()
(c) create()
(d) both malloc() and calloc()
This question was posed to me during an interview.
Origin of the question is Overloading Member Functions topic in portion Member Functions & its Types of Object Oriented Programming