fork(5) download
  1. #include <iostream>
  2.  
  3. int main() {
  4. int i();
  5. i = 0;
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:5: error: assignment of function ‘int i()’
prog.cpp:5: error: cannot convert ‘int’ to ‘int ()()’ in assignment
stdout
Standard output is empty