Re: [algogeeks] destructor

2011-08-14 Thread himanshu kansal
d destructor can be called explicitly but u *should never* do that... reason: a destructor is caaled automatically when its scope endsthere is no way of preventing its call. so if u have called it explicitly also then u can be in a *serious problem*if ur destructor deallocates memory...

[algogeeks] destructor

2011-08-13 Thread Aashish
can we call a destructor in our own defined class explicitly or it will be executed automatically ? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this grou