Swap without tmp 

1st way:

2nd way, with XOR bitwise operator ( here: Python),


References: