foo.c: In function 'main':
foo.c:4:2: error: 'inta' undeclared (first use in this function); did you mean 'int'?
4 | {inta,b,c,d
| ^~~~
| 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,c,d
| ^
foo.c:4:6: warning: left-hand operand of comma expression has no effect [-Wunused-value]
4 | {inta,b,c,d
| ^
foo.c:4:9: error: 'c' undeclared (first use in this function)
4 | {inta,b,c,d
| ^
foo.c:4:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
4 | {inta,b,c,d
| ^
foo.c:4:11: error: 'd' undeclared (first use in this function)
4 | {inta,b,c,d
| ^
foo.c:4:10: warning: left-hand operand of comma expression has no effect [-Wunused-value]
4 | {inta,b,c,d
| ^
foo.c:4:12: error: expected ';' before 'd'
4 | {inta,b,c,d
| ^
| ;
5 | d=(a%c)*(b%c);
| ~
foo.c:13:1: error: expected declaration or statement at end of input
13 | }
| ^
[Hydro](https://hydro.ac)提供评测服务