左移右移的能够使得数字*2或者/2那*3怎么办,就左移一位然后再+经典面试题:1.交换2个数,不用temp a=10 b=121.1a = a + b = 22b = a - b = 10a = a - b =101.2 位运算 ^(异或)a=1010 b = 1100a = a ^ b =0110b = a ^ b =1010a = a ^ b = 1100