Why "making a copy of car" printed only once when we used copy constructor three times

why “making a copy of car” printed only once when we used copy constructor two times
first F=E
then G=F

can you send me the code link

also there’s a compilation error . please also tell how to fix that

i checked your code
it is printing copy constructor statement twice Please check

the error you have made is
you can’t take an char array like char*a this is good for integer array only

right way:
Car(int p,int mn,char n[20]){
it will run and give output correctly but will give you warning
to avoid warning form main() you have to pass char array
char str[20]=“Ferrari”;
Car E(100,2001,str);

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.