#include<stdio.h>
int main()
{
int a = 100,b = 30;
a = a^b;
b = a^b;
a = a^b; //异或实现
printf("a = %d\nb = %d\n",a,b);
return 0;
}
02-23
850
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-20
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)