Can we return an array of objects?
(a) Yes, always
(b) Ye, only if objects are having same values
(c) No, because objects contain many other values
(d) No, because objects are single entity
This question was addressed to me during a job interview.
This interesting question is from Returning Objects in chapter Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming