Compile Error
/in/foo.c: In function 'main': /in/foo.c:8:9: error: stray '\357' in program sum=x+y; ^ /in/foo.c:8:10: error: stray '\274' in program sum=x+y; ^ /in/foo.c:8:11: error: stray '\233' in program sum=x+y; ^ /in/foo.c:9:5: error: expected ';' before 'printf' printf("%d",sum); ^~~~~~ /in/foo.c:5:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable] int x,y,sum; ^~~
代码
#include <stdio.h>
int main()
{
int x,y,sum;
x=123;
y=500;
sum=x+y;
printf("%d",sum);
}