0_0_21964982_23628.c: In function 'main':
0_0_21964982_23628.c:18:18: error: redeclaration of 'i' with no linkage
for (int i=0; i < count; i++) {
^
0_0_21964982_23628.c:16:13: note: previous declaration of 'i' was here
int i, j, k;
^
0_0_21964982_23628.c:18:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i=0; i < count; i++) {
^
0_0_21964982_23628.c:18:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_21964982_23628.c:21:18: error: redefinition of 'i'
for (int i=0; i<year; i++) {
^
0_0_21964982_23628.c:18:18: note: previous definition of 'i' was here
for (int i=0; i < count; i++) {
^
0_0_21964982_23628.c:21:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i=0; i<year; i++) {
^
0_0_21964982_23628.c:23:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j=0; j<count; j++) {
^
0_0_21964982_23628.c:24:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int k=w[j]; k<=V; k++) {
^
|