0_0_19354011_22384.c: In function 'main':
0_0_19354011_22384.c:4:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int N, arr[101] = {0}, res, t, i; scanf("%d", &N), N; printf("%d\n", res))
^
0_0_19354011_22384.c:4:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
|