#include <iostream>
using namespace std;
void increment(int n){
n++;
cout<<"In function: "<<n<<endl;
}
int main()
{
int x=5;
increment(x);
cout<<"In main: "<<x<<endl;
}
// function definition to swap the values.
void swap(int x, int y) {
int temp;
temp = x; /* save the value of x */
x = y; /* put y into x */
y = temp; /* put x into y */
return;
}