0_0_18344115_16979.c: In function 'main':
0_0_18344115_16979.c:10:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= num1; i++)
^
0_0_18344115_16979.c:10:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_18344115_16979.c:14:12: error: redefinition of 'i'
for (int i = 1; i <= num2; i++)
^
0_0_18344115_16979.c:10:12: note: previous definition of 'i' was here
for (int i = 1; i <= num1; i++)
^
0_0_18344115_16979.c:14:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= num2; i++)
^
0_0_18344115_16979.c:18:12: error: redefinition of 'i'
for (int i = 1; i <= num5; i++)
^
0_0_18344115_16979.c:14:12: note: previous definition of 'i' was here
for (int i = 1; i <= num2; i++)
^
0_0_18344115_16979.c:18:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= num5; i++)
^
0_0_18344115_16979.c:22:12: error: redefinition of 'i'
for (int i = 0; i <= num1; i++)
^
0_0_18344115_16979.c:18:12: note: previous definition of 'i' was here
for (int i = 1; i <= num5; i++)
^
0_0_18344115_16979.c:22:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= num1; i++)
^
0_0_18344115_16979.c:24:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; j <= num2 * 2; j += 2)
^
0_0_18344115_16979.c:30:12: error: redefinition of 'i'
for (int i = 0; i <= count; i++)
^
0_0_18344115_16979.c:22:12: note: previous definition of 'i' was here
for (int i = 0; i <= num1; i++)
^
0_0_18344115_16979.c:30:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= count; i++)
^
0_0_18344115_16979.c:32:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; j <= num5 * 5; j += 5)
^
0_0_18344115_16979.c:38:12: error: redefinition of 'i'
for (int i = 0; i <= count; i++)
^
0_0_18344115_16979.c:30:12: note: previous definition of 'i' was here
for (int i = 0; i <= count; i++)
^
0_0_18344115_16979.c:38:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= count; i++)
^
|