Pregunta de entrevista de MentorGraph

Copy constructor and why we pass arguments by reference only.

Respuesta de la entrevista

Anónimo

13 nov 2021

To avoid the recursive calling of copy constructor we call I object as an argument through reference.