之前注释没删一直显示错误,为什么注释删掉后就输出正确
#include <stdio.h>
int main()
{
int x = 10;
int y = 10;
x=x*2;
y*=2;
printf("x=%d\n", x);
printf("y=%d\n", y);
return 0;
}
#include <stdio.h>
int main()
{
int x = 10;
int y = 10;
x=x*2;
y*=2;
printf("x=%d\n", x);
printf("y=%d\n", y);
return 0;
}
2020-10-15
举报