Which among the following is true?
(a) New operator can’t allocate functions but pointer to functions can be allocated
(b) New operator can allocate functions as well as pointer to functions
(c) New operator can allocate any type of functions
(d) New operator is not applicable with functions allocation
I got this question during an interview.
My question comes from New Operator in chapter Memory Allocation & Scope of Variable of Object Oriented Programming