Xor swap algorithm/C code
Appearance
// the following code block swaps the values in x and y // author: Kevin Damm
{
x ^= y; y ^= x; x ^= y;
}
// the following code block swaps the values in x and y // author: Kevin Damm
{
x ^= y; y ^= x; x ^= y;
}