int a = 1; int b = 2;
a = a + b; b = a - b; a = a - b;
b = a ^ b; a = b ^ a; b = a ^ b;
std:swap
// x:4; y:7 x = x*y; // 4*7 y = x/y; // 28/7 = 4 x = x/y; // 28/4 = 7
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)