foo.c: In function 'main':
foo.c:5:13: error: conflicting types for 'y'; have 'int[32]'
5 | int y[32];
| ^
foo.c:4:11: note: previous declaration of 'y' with type 'int'
4 | int x,y,a,b=0,q=2;
| ^
foo.c:15:31: error: 'i' undeclared (first use in this function)
15 | printf("%d",a[i]);
| ^
foo.c:15:31: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:13: warning: variable 'y' set but not used [-Wunused-but-set-variable]
5 | int y[32];
| ^
[Hydro](https://hydro.ac)提供评测服务