foo.c: In function 'main':
foo.c:15:12: warning: passing argument 1 of 'Output' makes integer from pointer without a cast [-Wint-conversion]
15 | Output(a, n);
| ^
| |
| int *
foo.c:3:17: note: expected 'int' but argument is of type 'int *'
3 | void Output(int n, int a[])
| ~~~~^
foo.c:15:15: warning: passing argument 2 of 'Output' makes pointer from integer without a cast [-Wint-conversion]
15 | Output(a, n);
| ^
| |
| int
foo.c:3:24: note: expected 'int *' but argument is of type 'int'
3 | void Output(int n, int a[])
| ~~~~^~~
[Hydro](https://hydro.ac)提供评测服务