foo.c: In function 'main':
foo.c:17:27: error: expected ')' before ';' token
17 | scanf("%d";&a[i]);
| ~ ^
| )
foo.c:17:25: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
17 | scanf("%d";&a[i]);
| ~^
| |
| int *
foo.c:21:20: error: expected ')' before ';' token
21 | printf("%d";Index);
| ~ ^
| )
foo.c:21:18: warning: format '%d' expects a matching 'int' argument [-Wformat=]
21 | printf("%d";Index);
| ~^
| |
| int
foo.c:20:13: warning: unused variable 'Index' [-Wunused-variable]
20 | int Index=Search(a,n,x);
| ^~~~~
[Hydro](https://hydro.ac)提供评测服务