If an object is declared in a user defined function __________________
(a) Its memory is allocated in stack
(b) Its memory is allocated in heap
(c) Its memory is allocated in HDD
(d) Its memory is allocated in cache
I got this question during an online exam.
I want to ask this question from Overloading Member Functions topic in section Member Functions & its Types of Object Oriented Programming