Frage im Vorstellungsgespräch bei MentorGraph

Copy constructor and why we pass arguments by reference only.

Antwort im Vorstellungsgespräch

Anonym

13. Nov. 2021

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