fork download
  1. int main()
  2. {
  3. int *ptr = NULL;
  4. return 0;
  5. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:3:16: error: 'NULL' was not declared in this scope
stdout

Standard output is empty