Is there any difference between these two like one is faster or smaller?
Benefit of using one over another?

 Swapping using XOR operator
----------------------------

```
int a, b;
a ^= b ^= a ^= b;

```

Swapping using third variable
-----------------------------

```
int a, b, temp;
temp = a;
a = b;
b = temp;

```