KodeGod.com

004. Technical interview question: Swap two numbers without using a third variable

a = a + b;
b = a - b;
a = a - b;
or
a = a + b - (b=a);