#include using namespace std; void one(int& a) { a = 10; // a = 10 cout << "In the function one, a = " << a << endl; } void two () { int a = 0; one(a); cout << "In the function two, a = " << a << endl; } int main () { int a = 20; cout << "In the function main, before the call to " << "function two, a = " << a << endl; two( ); cout << "In the function main, after the call to " << "function two, a = " << a << endl; }