0_0_14210984_6888.c: In function 'main':
0_0_14210984_6888.c:9:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 1;i<= 20;i++){
^
0_0_14210984_6888.c:9:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_14210984_6888.c:28:9: error: unknown type name 'bool'
bool flag=false;
^
0_0_14210984_6888.c:28:19: error: 'false' undeclared (first use in this function)
bool flag=false;
^
0_0_14210984_6888.c:28:19: note: each undeclared identifier is reported only once for each function it appears in
0_0_14210984_6888.c:29:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=len;i>=1;i--)
^
0_0_14210984_6888.c:42:22: error: 'true' undeclared (first use in this function)
flag=true;
^
|