#include #include using namespace std; using std::exception; int main() { int *myptr = NULL; try { *myptr = 6; cout<<"Success!?\n"; } catch(...) { cout<<"ERROR. But NO CRASH!!!!\n"; } cout<<"end\n"; return 0; }