1 2 3 4 5 6 7 8 9 10
#include <stdio.h> void main() { int a = 5, b = 3; printf("a = %d, b = %d\n", a, b); b ^= a; a ^= b; b ^= a; printf("a = %d, b = %d\n", a, b); }