Why temporary object is not created in return by reference?
(a) Because compiler can’t create temporary objects
(b) Because the temporary object is created within the function
(c) Because return by reference just make the objects points to values memory location
(d) Because return by reference just make the object point to null
The question was asked in final exam.
Asked question is from Returning Objects topic in division Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming