fork download
  1. a=8;
  2. main()
  3. {
  4. printf("%d", a);
  5. }
Compilation error #stdin compilation error #stdout 0s 0KB
Standard input is empty
compilation info
cc1: warnings being treated as errors
prog.c:1: error: data definition has no type or storage class
prog.c:1: error: type defaults to ‘int’ in declaration of ‘a’
prog.c:3: error: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:4: error: implicit declaration of function ‘printf’
prog.c:4: error: incompatible implicit declaration of built-in function ‘printf’
Standard output is empty