Shallow copy versus Deep Copy of user defined types.
- by Codenotguru
what is the difference between a shallow copy and deep copy with respect to user defined types and why do we need to perform a deep copy during copy construction for user defined types??