Q:

How to overcome the problem arising due to destruction of temporary object?

0

How to overcome the problem arising due to destruction of temporary object?


  1. Overloading insertion operator
  2. Overriding functions can be used
  3. Overloading parenthesis or returning object
  4. Overloading assignment operator and defining copy constructor

All Answers

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

 (d).Overloading assignment operator and defining copy constructor

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

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How many objects can be returned at once?... >>
<< When an object is returned by a function, a ______...