#include <iostream>
#include <memory>
using namespace std;
struct A { int& ref = i; int i; };
int main()
{
A a;
cout << addressof(a) << endl;
cout << addressof(a.i) << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWVtb3J5Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IEEgeyBpbnQmIHJlZiA9IGk7IGludCBpOyB9OwoKaW50IG1haW4oKQp7CglBIGE7CgkKCWNvdXQgPDwgYWRkcmVzc29mKGEpIDw8IGVuZGw7Cgljb3V0IDw8IGFkZHJlc3NvZihhLmkpIDw8IGVuZGw7Cn0=