本文共 248 字,大约阅读时间需要 1 分钟。
int a = 1; int b = 2; cout << "a: "<< a << endl; cout << "b: "<< b << endl; a = a ^ b; b = a ^ b; a = a ^ b; cout << "a: " << a << endl; cout << "b: " << b << endl;