方法2 方法1加上bit manipulation · 透過XOR 運算,可以得到LSB 的答案 1 xor 1 = 0 · 透過AND 運算,可以得到加法後進位的答案 (1 & 1) = 1.
確定! 回上一頁