this function just swaps two values without using a third variable to store a temp-value. Not very useful, but interesting nonetheless.

void swap(int * a, int *b)
{
a = a xor b;
b = b xor a;
a = a xor b;
}