The syntax of copy constructor goes like this say for e.g class A;
A(A & atype)
{
member=atype.member;
}

Is it ok if we have the same constructor defined like this
A(A * atype)
{
member=atype->member;
}

Will this be still called a copy constructor .Essentially the difference
is that we are passing the parameter by pointer rather than by reference.

Can anyone help please!!!