User defined copy constructor

Why it is not print message “making copy of a car …” for other objects?

@rahulwalkar89 Only one constructor can be called for one object. So the code is printing making a copy of car for parameterised constructor call, and making a car for empty constructor, and nothing for copy constructor (Sir have by mistake pasted the print statement in wrong constructor)
We have 2 copy constructor calls
Car F=C;
Car G=F;
And as their is no print statement inside the constructor nothing is printed.
If this resolves your doubt mark it as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.