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