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