12345678910
#include<iostream> using namespace std; int main() { int a = 20; int &n = a; n=a++; a=n++; cout<<a; }
12345678910111213141516
#include <iostream> using namespace std; int main() { int a = 5; int *n = &a; *n = ++a; a = ++(*n); cout << *n; cout << endl; return 0; }