Contact: aviboots(AT)netvision.net.il
38,119 questions
49,726 answers
573 users
#include <iostream> int main() { int x = 5; int y = 9; x ^= y; y ^= x; x ^= y; std::cout << "x = " << x << " y = " << y; } /* run: x = 9 y = 5 */