1、 int a= 3, b = 4; a = a + b; b = a - b; a = a - b;2、 int a = 3, b = 4; a = a ^ b; b = a ^ b; a = a ^ b; 3、 int a = 3, b = 4; a = b+(b=a)*0;