fork download
  1. int main()
  2. {
  3. for(int i = 0; i < 1; ++i)
  4. {
  5. }
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:3:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
prog.c:3:5: note: use option -std=c99 or -std=gnu99 to compile your code
prog.c:6:1: warning: control reaches end of non-void function [-Wreturn-type]
Standard output is empty