How to swap two variables without a tempary variable?

How to replace values in two memories without using any additional memory?
Ans: a += b; b = a-b; a = a-b;