Q:

Why temporary object is not created in return by reference?

0

Why temporary object is not created in return by reference?


  1. Because compiler can’t create temporary objects
  2. Because the temporary object is created within the function
  3. Because return by reference just make the objects points to values memory location
  4. Because return by reference just make the object point to null

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(c).Because return by reference just make the objects points to values memory location

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
When value of an object is assigned to another obj... >>
<< If an object is being returned by value then _____...