Code:
void swap(int & a, int & b)
{
     int temp;
     temp = a;
     a = b;
     b = temp;
}
basically, how do i pass an integer variable by reference so I can change the value of the parameter variables after the function call.