There is a class A with 2 objects A1 and A2.
Now to assign the member values of A2 to A1, I could have used either simply A1 = A2, or use a copy constructor instead like :-
A (A &A2)
{
this.m = A2.m;
this.n = A2.n;
}
So, I want to know that which one is better and where which option is suitable or is there really any difference between them ?