Domanda di colloquio di MentorGraph

Copy constructor and why we pass arguments by reference only.

Risposta di colloquio

Anonimo

13 nov 2021

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