// practicing some calling by reference
#include<iostream>
using namespace std;

void swap(int &x, int &y) {
 int temp = x;
 x = y; y = temp;
}

int main() {
 int x = 0; int y = 3;
 cout << "The initial values of x and y are: " << x << "  " << y <<endl;
 swap(x,y);
 cout << "The values of x and y after swapping are: " << x << "  " << y << endl;
 return 0;
}
