#include <iostream>
using namespace std;
void f(int i) {
i = i + 40;
cout << "i inside function = " << i << endl;
}
int main() {
setlocale(LC_ALL, "Russian");
int i = 10;
cout << "i before function call = " << i << endl;
f(i);
cout << "i after function call = " << i << endl;
}