a = 10; b = 6; cout << "a = " << a << ", b = " << b << endl; a = a^b; b = a^b; a = a^b; cout << "a = " << a << ", b = " << b << endl;
More information about formatting options
Post new comment