#include <stdio.h> #define Swap(a, b) {a ^= b; b ^= a; a ^= b;} int main() { int x = 5, y = 6; printf("x = %d\ty = %d\n", x, y); Swap(x, y); printf("x = %d\ty = %d\n", x, y); return 0; }