0_0_31200804_1782.c: In function 'main':
0_0_31200804_1782.c:8:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int num=1;num<=T;num++)
^
0_0_31200804_1782.c:8:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_31200804_1782.c:12:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
0_0_31200804_1782.c:14:11: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<=m;j++)
^
0_0_31200804_1782.c:21:15: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int b=1,c=2;;)
^
0_0_31200804_1782.c:42:17: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int b=1,c=2;;)
^
0_0_31200804_1782.c:63:15: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int b=2,c=2;;)
^
0_0_31200804_1782.c:84:15: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int b=2,c=2;;)
^
|