#include using namespace std; // We can try replacing "int x" by "int& x" // and/or replacing "int y" by "int& y". static int f(int x, int y){ x = x * 10; y = x + y; return x + y; } int main(int argc, char** argv){ int a = 3; cout << f(a, a) << endl; cout << a << endl; }