Very simple
Code:
int x = 1;
int y = 10;
x = x^y;
y = x^y;
x = x^y;
This is similar to doing with +- or */

Thanks
Shabbir Bhimani