0_0_19003660_32036.c: In function 'main':
0_0_19003660_32036.c:14:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (char c = 0; (c = getchar()) != 10; count += (c >= '0' && c <= '9') ? 1 : 0);
^
0_0_19003660_32036.c:14:4: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
|