deep copy-value copy
so for pointers oly address is copied nt the value
so its like two variables pointing to same value

shallow copy means pointed to value is copied.so two distinct copies exists

On Sat, Oct 1, 2011 at 5:20 PM, rahul sharma <[email protected]>wrote:

> plz xpalin waht is deep and shallow copy in c++
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to