fork download
  1. main(){
  2. printf("Hello world\n");
  3. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
cc1: warnings being treated as errors
prog.c:1: error: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:2: error: implicit declaration of function ‘printf’
prog.c:2: error: incompatible implicit declaration of built-in function ‘printf’
stdout
Standard output is empty