What should happen when I run this? Because it runs without errors, but I'm not sure wether it's valid to do this. I mean, shouldn't the object be deleted after "delete global_foo"? Which means "Still here..." shouldn't be displayed right? But it is. Any possible side effects I should know of?Code:#include <iostream> using namespace std; class Foo { public: void Destroy(); } *global_foo; void Foo::Destroy() { delete global_foo; cout << "Still here..." << endl; } int main() { global_foo = new Foo; global_foo->Destroy(); return 0; }