Where the temporary objects (created while return by value) are created?
(a) Outside the function scope
(b) Within the function
(c) Inside the main function
(d) Inside the calling function
I had been asked this question in quiz.
Enquiry is from Returning Objects in division Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming