0_0_21338604_11133.c: In function 'main':
0_0_21338604_11133.c:18:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int t=0;t<m;t++)scanf("%d",&num[t]);
^
0_0_21338604_11133.c:18:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_21338604_11133.c:20:11: error: redefinition of 't'
for(int t=0;t<m;t++)printf("%d ",num[t]);
^
0_0_21338604_11133.c:18:11: note: previous definition of 't' was here
for(int t=0;t<m;t++)scanf("%d",&num[t]);
^
0_0_21338604_11133.c:20:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int t=0;t<m;t++)printf("%d ",num[t]);
^
|