foo.c:4:1: warning: data definition has no type or storage class
4 | PrimeCount(int p[]);
| ^~~~~~~~~~
foo.c:4:1: warning: type defaults to 'int' in declaration of 'PrimeCount' [-Wimplicit-int]
foo.c:19:6: error: conflicting types for 'PrimeCount'
19 | void PrimeCount(int p[]);
| ^~~~~~~~~~
foo.c:4:1: note: previous declaration of 'PrimeCount' was here
4 | PrimeCount(int p[]);
| ^~~~~~~~~~
foo.c:20:1: error: expected identifier or '(' before '{' token
20 | {
| ^
foo.c:26:5: error: stray '\343' in program
26 | {
| ^
foo.c:26:6: error: stray '\200' in program
26 | {
| ^
foo.c:26:7: error: stray '\200' in program
26 | {
| ^
foo.c:26:8: error: stray '\343' in program
26 | {
| ^
foo.c:26:9: error: stray '\200' in program
26 | {
| ^
foo.c:26:10: error: stray '\200' in program
26 | {
| ^
foo.c: In function 'main':
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d %d",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~~
foo.c:12:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
12 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:15:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
15 | scanf("%d",&b[i]);
| ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务