Difference between copy constructor and assignment operator

Is the difference given on this site correct?
https://www.tutorialspoint.com/copy-constructor-vs-assignment-operator-in-cplusplus#:~:text=The%20Copy%20constructor%20and%20the,not%20make%20new%20memory%20space.

It says that only one memory location is used by both objects in assignment operator case

Nope its not correct.
Here check this https://ide.codingblocks.com/s/327748

So whats the difference?

The explanation given on tutorialspoint is correct.

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.