class A
{
public:
void Test()
{
AfxMessageBox("Test Function");
}
};
A* obj= new A();
delete obj;
obj= NULL;
obj->Test();
Here Test function called without any error, I am using Visual studio compiler. if member function not accessing any other member in a class, "this" pointer will not use at all? is this applicable for all compilers?