foo.c: In function 'main':
foo.c:7:16: warning: missing terminating " character
7 | printf("Y1=%d,X1+X2);
| ^
foo.c:7:16: error: missing terminating " character
7 | printf("Y1=%d,X1+X2);
| ^~~~~~~~~~~~~~
foo.c:8:12: warning: missing terminating " character
8 | printf("Y2=%d,X1/X2);
| ^
foo.c:8:12: error: missing terminating " character
8 | printf("Y2=%d,X1/X2);
| ^~~~~~~~~~~~~~
foo.c:9:12: warning: missing terminating " character
9 | printf("Y3=%d,X1%X2);
| ^
foo.c:9:12: error: missing terminating " character
9 | printf("Y3=%d,X1%X2);
| ^~~~~~~~~~~~~~
foo.c:11:5: error: expected expression before 'return'
11 | return 0
| ^~~~~~
foo.c:11:5: error: expected declaration or statement at end of input
foo.c:6:13: warning: unused variable 'X2' [-Wunused-variable]
6 | int X2=6;
| ^~
foo.c:5:9: warning: unused variable 'X1' [-Wunused-variable]
5 | int X1=5;
| ^~
[Hydro](https://hydro.ac)提供评测服务