sr*********@gmail.com wrote:
Can we delete 'this' pointer in C++.
If so how can we delete this pointer?
If not why?
Yes, you can delete the this pointer.
After calling "delete", you must not reference any non static member
variables or non static functions. Anything that causes you to
dereference the "this" pointer is bad news.