There are variables a and b, you want to exchange
A = a b;
B = a-b;
A = a-b;
The values of A and B have been exchanged. ^ - ^.