fork(1) download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int fun();
  5. int i;
  6. i = fun();
  7. printf("%d\n", i);
  8. return 0;
  9. }
  10. int fun()
  11. {
  12. _AX = 1990;
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘fun’:
prog.c:12:5: error: ‘_AX’ undeclared (first use in this function)
     _AX = 1990;
     ^~~
prog.c:12:5: note: each undeclared identifier is reported only once for each function it appears in
prog.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
stdout
Standard output is empty