CS202 6- ‹#›
Copy Constructors
nUsing a copy constructor avoids objects “sharing” memory -- but causes this behavior
n
nThis should convince us to avoid pass by value whenever possible -- when passing or returning objects of a class!