#include <iostream>
#include <cxxabi.h>

int main()
{
    int32_t a = 47;
    auto p = &a;
    auto p2 = &p;
    auto p3 = &p2;
    ***p3 = 48; // make sure you understand why this is the same as "a"
    printf("a is %d\n",a);

    printf("type of p3 is %s\n",abi::__cxa_demangle(typeid(p3).name(),nullptr,nullptr,nullptr));
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: