📌  相关文章
📜  如何计算按位异或 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:52.418000             🧑  作者: Mango

代码示例1
#include 

int main() {
    int a = 12, b = 25;

    cout << "a = " << a << endl;
    cout << "b = " << b << endl;
  // Bitwise XOR
    cout << "a ^ b = " << (a ^ b) << endl;

    return 0;
}