foo.c: In function 'main':
foo.c:6:25: error: expected ')' before 's2'
6 | scanf("%s %s",s1 s2);
| ~ ^~~
| )
foo.c:6:20: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
6 | scanf("%s %s",s1 s2);
| ~^
| |
| char *
foo.c:7:9: warning: implicit declaration of function 'Length' [-Wimplicit-function-declaration]
7 | Length(s1);
| ^~~~~~
foo.c: At top level:
foo.c:12:6: warning: conflicting types for 'Length'; have 'void(char *)'
12 | void Length(char s[])
| ^~~~~~
foo.c:7:9: note: previous implicit declaration of 'Length' with type 'void(char *)'
7 | Length(s1);
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务