输入错误,运行成功
#include <stdio.h>
int main()
{
int x,y;
x = 10;
y = -3;
printf("x+y=%d\n",x+y );
printf("x-y=%d\n", x-y );
printf("x*y=%d\n",x*y );
printf("x/y=%d\n", x/y );
printf("x%y=%d\n", x%y );
return 0;
运行成功,输出错误
x+y=7
x-y=13
x*y=-30
x/y=-3
这是为什么