If an object is declared inside the function then ____________________ outside the function.
(a) It can be returned by reference
(b) It can’t be returned by reference
(c) It can be returned by address
(d) It can’t be returned at all
The question was asked in a job interview.
Origin of the question is Returning Objects in chapter Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming