#include<stdio.h>
int main()
{
int a= 1,b = 2;
a = a+1;
b = b-1;
printf("%d %d\n",a,b);
return 0;
}
不允许创建临时变量,交换两个数的内容
最新推荐文章于 2022-08-14 05:00:00 发布
#include<stdio.h>
int main()
{
int a= 1,b = 2;
a = a+1;
b = b-1;
printf("%d %d\n",a,b);
return 0;
}