#include <stdio.h>
int main(void) {
int n = 123;
int* ptrn = &n;
int** ptrnn = &ptrn;
int* m = *ptrnn;
printf("*ptrnn = %d\n", *ptrnn
);
// printf("n = %d\n", *ptrn);
// printf("*n = %p\n", ptrn);
// printf("*n = %p\n", *ptrnn);
// printf("n = %d\n", **ptrnn);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbiA9IDEyMzsKCWludCogcHRybiA9ICZuOwoJaW50KiogcHRybm4gPSAmcHRybjsKCQoJaW50KiBtID0gKnB0cm5uOwoJCglwcmludGYoIipwdHJubiA9ICAlZFxuIiwgKnB0cm5uKTsKCXByaW50ZigiKm0gPSAgJWRcbiIsIG0pOwoJcHJpbnRmKCJtID0gICVkXG4iLCAqbSk7CQoJCgkvLyBwcmludGYoIm4gPSAgJWRcbiIsICpwdHJuKTsJCgkvLyBwcmludGYoIipuID0gJXBcbiIsIHB0cm4pOwkKCS8vIHByaW50ZigiKm4gPSAlcFxuIiwgKnB0cm5uKTsJCgkvLyBwcmludGYoIm4gPSAgJWRcbiIsICoqcHRybm4pOwkKCQoJcmV0dXJuIDA7Cn0K