// Passing arguments by reference
#include <iostream>
using namespace std;

void increment(int& a, int& b) {
  a++; b++;
  cout << "Inside increment(): " << a << '\t' << b << endl;
}

int main()
{
  int x = 4, y = 7;
  cout << "Before increment(): " << x << '\t' << y << endl;
  increment (x,y);
  cout << "After  increment(): " << x << '\t' << y << endl;
  return 0;
}
