int a=2; int b=3; a=b-a; //a=1;b=3 b=b-a; //a=1;b=2 a=b+a; //a=3;b=2
int a=2; int b=3; a=a^b; b=a^b; a=a^b;