foo.c: In function 'main':
foo.c:4:2: error: 'inta' undeclared (first use in this function); did you mean 'int'?
4 | {inta,b
| ^~~~
| int
foo.c:4:2: note: each undeclared identifier is reported only once for each function it appears in
foo.c:4:7: error: 'b' undeclared (first use in this function)
4 | {inta,b
| ^
foo.c:4:6: warning: left-hand operand of comma expression has no effect [-Wunused-value]
4 | {inta,b
| ^
foo.c:4:8: error: expected ';' before 'printf'
4 | {inta,b
| ^
| ;
5 | printf("请输入");
| ~~~~~~
foo.c:10:24: error: stray '#' in program
10 | printf("%d\n",a#b);
| ^
foo.c:10:23: error: 'a' undeclared (first use in this function)
10 | printf("%d\n",a#b);
| ^
foo.c:10:24: error: expected ')' before 'b'
10 | printf("%d\n",a#b);
| ~ ^~
| )
foo.c:12:18: error: 'return0' undeclared (first use in this function)
12 | return0
| ^~~~~~~
foo.c:12:25: error: expected ';' before '}' token
12 | return0
| ^
| ;
......
16 | }
| ~
[Hydro](https://hydro.ac)提供评测服务