#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
    }
}