#include <iostream>

using namespace std;
 
int add1( int &x ) 
{
	x +=  5, cout << "In function add1: the return value is x = " << x << endl; return x;
}
 
int add2( int &x ) 
{
	x += 10, cout << "In function add2: the return value is x = " << x << endl; return x;
}
 
int main() 
{
	int x = 0, x1 = add1( x ), x2 = add2( x );
	
	cout << x1 << " " << x2 << endl;
	
	return 0;
}
