Which among the following is correct?
(a) Individual data members can’t be returned
(b) Individual data members can be returned
(c) Individual member functions can be returned from another function
(d) Individual data members can only be passed by reference
I got this question in an interview for job.
This key question is from Returning Objects topic in division Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming