#include using namespace std; // swap the values stores at a and b void Swap (int * a, int * b); void Swap (int & a, int & b); int main() { int x=100; int y=200; cout <<"address of x : " << &x << endl; cout <<"address of y : " << &y << endl << endl; cout <<"Before Swap: x=" << x <<"; y=" << y << endl; Swap (&x, &y); cout <<"After Swap: x=" << x <<"; y=" << y << endl; cout <