Loading practice questions
Out of memory error is given when the object _____________ to the copy constructor.
Correct Answer: B — Is not passed by reference
Explanation:
All the options given, directly or indirectly indicate that the object is being passed by reference. And if object is not passed by reference then the out of memory error is produced. Due to infinite constructor call of itself.