2整数互换


int a = 10;

int b = 5;

a^=b;

b^=a;

a^=b;

a=a+b
b=a-b
a=a-b

原文地址:https://www.cnblogs.com/wdw31210/p/4013555.html