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