Comments
In which language does it work ?
In C,and if the variables are integer :

x ^= y;
y ^= x;
x ^= y;

Also some of the methods described above is not correct,here is one good source : http://bit.ly/ccbyUJ