yup callin destructor ,, deallocate ,,,,,,,, memory of resources allocated
by object
like heap memory of pointer ,,

On Sun, Aug 15, 2010 at 3:58 PM, amit <[email protected]> wrote:

> I have read that Delete is more safer than free as Delete calls the
> destructor of the object but i dont get whats the reason for calling
> the destructor if anyways it want to deallocate the memory.
> Does calling the destructor serves any other purpose??
>
> --
> 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]<algogeeks%[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