T
Tony Johansson
Hello Experts!
I have this statement
Student* john = michael;
where the pointer john is pointing to the same class object that michael is
pointing at.
But now to my question.will the copy constructor for the Student class be
called or any other constructor.
Many thanks.
//Tony
I have this statement
Student* john = michael;
where the pointer john is pointing to the same class object that michael is
pointing at.
But now to my question.will the copy constructor for the Student class be
called or any other constructor.
Many thanks.
//Tony