/in/foo.c: In function 'main':
/in/foo.c:10:33: error: expected ')' before ';' token
10 | scanf("%d",&a[i];
| ~ ^
| )
/in/foo.c:10:34: error: expected ';' before '}' token
10 | scanf("%d",&a[i];
| ^
| ;
11 | }
| ~
/in/foo.c:12:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(int i=0;i<n;i++);{
| ^~~
/in/foo.c:12:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
12 | for(int i=0;i<n;i++);{
| ^
/in/foo.c:13:23: error: 'i' undeclared (first use in this function)
13 | int m=i;
| ^
/in/foo.c:13:23: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:26:41: error: expected ')' before ';' token
26 | printf("%d",a[i];
| ~ ^
| )
/in/foo.c:30:37: error: expected ';' before '}' token
30 | }
| ^
| ;
31 | }
| ~
/in/foo.c:33:1: error: expected declaration or statement at end of input
33 | }
| ^