prog.c: In function ‘main’:
prog.c:12:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(int i=0; i<10000; i++){
^
prog.c:12:5: note: use option -std=c99 or -std=gnu99 to compile your code
prog.c:26:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(int j=0;j<10000;j++)
^