Unnamed
public cpp v1 · immutable#include <cstdio>class Hi{public: void print() { printf( "Hi! %p\n", this ); }};int main(){ Hi *hey = new Hi; delete hey; hey = NULL; hey->print(); return 0;}#include <cstdio>class Hi{public: void print() { printf( "Hi! %p\n", this ); }};int main(){ Hi *hey = new Hi; delete hey; hey = NULL; hey->print(); return 0;}