0_0_19408935_29618.c: In function 'main':
0_0_19408935_29618.c:5:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int n, ans, i; scanf("%d", &n) != EOF; printf("%5d -> %d\n", n, ans % 10))
^
0_0_19408935_29618.c:5:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
|