1 2 3 4 5 | int main() { int *ptr = NULL; return 0; } |
aW50IG1haW4oKQp7IAogICAgaW50ICpwdHIgPSBOVUxMOwogICAgcmV0dXJuIDA7Cn0=
prog.cpp: In function 'int main()': prog.cpp:3:16: error: 'NULL' was not declared in this scope
-
result: Compilation error (maybe you wish to see an example for C++11)


