#include <iostream>
int main()
{
// int i=42;
// int *p;
// int *r = p;
// std::cout<<*r<<" "<<r<<" "<<p<<" "<<*p<<std::endl;
int i=42;
int *p=&i;
int *&r = p;
int &m=*p;
std::cout<<&i<<std::endl;
std::cout<<p<<" "<<&p<<" "<<*p<<std::endl;
std::cout<<r<<" "<<&r<<" "<<*r<<std::endl;
std::cout<<&m<<" "<<m<<std::endl;
// 0x61ff04
// 0x61ff04 0x61ff00 42
// 0x61ff04 0x61ff00 42
// 0x61ff04 42
return 0;
}