0_0_20319293_30490.c: In function 'main':
0_0_20319293_30490.c:13:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int k1=1;k1<=n;k1++){
^
0_0_20319293_30490.c:13:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_20319293_30490.c:25:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=len1-1;j>=0;j--)
^
0_0_20319293_30490.c:28:21: error: expected expression before '/' token
//printf("%d\n",sum/10);
^
0_0_20319293_30490.c:31:21: error: expected expression before '/' token
//printf("%c\n",str[1]);
^
0_0_20319293_30490.c:38:25: error: redefinition of 'j'
for(int j=len1-len2-1;j>=0;j--)
^
0_0_20319293_30490.c:25:21: note: previous definition of 'j' was here
for(int j=len1-1;j>=0;j--)
^
0_0_20319293_30490.c:38:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=len1-len2-1;j>=0;j--)
^
0_0_20319293_30490.c:50:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=len1-1;j>=0;j--)
^
0_0_20319293_30490.c:53:21: error: expected expression before '/' token
//printf("%d\n",sum/10);
^
0_0_20319293_30490.c:56:21: error: expected expression before '/' token
//printf("%c\n",str[1]);
^
0_0_20319293_30490.c:63:25: error: redefinition of 'j'
for(int j=len2-len1-1;j>=0;j--)
^
0_0_20319293_30490.c:50:21: note: previous definition of 'j' was here
for(int j=len1-1;j>=0;j--)
^
0_0_20319293_30490.c:63:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=len2-len1-1;j>=0;j--)
^
0_0_20319293_30490.c:75:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=len1-1;j>=0;j--)
^
0_0_20319293_30490.c:78:21: error: expected expression before '/' token
//printf("%d\n",sum%10);
^
0_0_20319293_30490.c:81:21: error: expected expression before '/' token
//printf("%c\n",(sum%10)+n1+'0');
^
0_0_20319293_30490.c:88:25: error: expected expression before '/' token
//printf("%d\n",sum);
^
0_0_20319293_30490.c:97:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<len;i++)
^
0_0_20319293_30490.c:100:25: error: redefinition of 'i'
for(int i=1;i<len;i++)
^
0_0_20319293_30490.c:97:21: note: previous definition of 'i' was here
for(int i=0;i<len;i++)
^
0_0_20319293_30490.c:100:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<len;i++)
^
|