Object being passed to a copy constructor __

A Must be passed by reference
B Must be passed by value
C Must be passed with integer type
D Must not be mentioned in parameter list

Correct Answer: Must be passed by value

A copy constructor is called when an object is passed by value. Copy constructor itself is a function. So if we pass an argument by value in a copy constructor, a call to copy constructor would be made to call copy constructor which becomes a non - terminating chain of calls.
Bissoy MCQ

Related Questions

Next steps