#include <stdio.h> int main(void) { return 0; }
Standard input is empty
prog.c: In function ‘main’:
prog.c:4:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(int i=0;i<10;i++)printf("%d\n",i);
^
prog.c:4:2: note: use option -std=c99 or -std=gnu99 to compile your code
Standard output is empty