int int return int main auto std cout std endl return

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
int x = 8;
int &f() {
return x;
}
int main()
{
auto z = f();
z = 9;
std::cout << x << " " << z << std::endl;
return 0;
}