void Swap1(int a, int b)
{
int temp;
temp = a;
a = b;
b = temp;
}
void Swap2(int *x, int *y)
{
int *pTemp;
pTemp = x;
x = y;
y = pTemp;
}
void Swap3(int *x, int *y)
{
int temp;
temp = *x;
*x = *y;
*y = temp;
}
void Swap4(int &x, int &y)
{
int temp;
temp = x;
x = y;
y = temp;
}