prog.c: In function ‘main’:
prog.c:8:10: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",a[i]);
^
prog.c:9:9: error: ‘j’ undeclared (first use in this function)
for(j=i+1;j<25;j++)
^
prog.c:9:9: note: each undeclared identifier is reported only once for each function it appears in
prog.c:21:1: error: expected declaration or statement at end of input
}
^