fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. for(int i = 0; i < 10; i++);
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for(int i = 0; i < 10; i++);
  ^
prog.c:5:2: note: use option -std=c99 or -std=gnu99 to compile your code
stdout
Standard output is empty