#include <iostream>
int main() {
int i;
void* p = &i;
std::cout << &p << std::endl; // value #1
std::cout << p << std::endl; // value #2
std::cout << &i << std::endl; // value #2
{
void* p = &p;
std::cout << &p << std::endl; // value #3
std::cout << p << std::endl; // value #3
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CgogICAgaW50IGk7CiAgICB2b2lkKiBwID0gJmk7CiAgICBzdGQ6OmNvdXQgPDwgJnAgPDwgc3RkOjplbmRsOyAvLyB2YWx1ZSAjMQogICAgc3RkOjpjb3V0IDw8IHAgPDwgc3RkOjplbmRsOyAgLy8gdmFsdWUgIzIKICAgIHN0ZDo6Y291dCA8PCAmaSA8PCBzdGQ6OmVuZGw7IC8vIHZhbHVlICMyCiAgICB7CiAgICAgICAgdm9pZCogcCA9ICZwOwogICAgICAgIHN0ZDo6Y291dCA8PCAmcCA8PCBzdGQ6OmVuZGw7IC8vIHZhbHVlICMzCiAgICAgICAgc3RkOjpjb3V0IDw8IHAgPDwgc3RkOjplbmRsOyAgLy8gdmFsdWUgIzMKICAgIH0KfQ==