Hello,
I have a class A. I have a copy constructor inside that class.
From the main function i am calling the copy constructor like below.
A a;
A b = a;
Now whenever the compiler comes to the statement A b=a. how does this work.
My doubt is whether the object b will be created first and a will be copied to b?
Regards,
Bhadri