int main()
{
int a = 0x10;
int *p;
p = &a;
// 二阶指针
int **pp;
pp = &p;
// 三阶指针
int ***ppp;
ppp = &pp;
printf("value:%d,address:%d\n", a,&a);
// 指针指向指针
printf("pointer\n");
printf("value pointer is:%d, pointer address:%d, pointer to value:%d\n", p,&p, *p);
printf("pointer to pointer\n");
// *(*pp) 二阶指针
printf("value pointer is:%d, pointer address:%d, pointer to value:%d\n", pp, &pp, *(*pp));
// 三阶指针
printf("value pointer is:%d, pointer address:%d, pointer to value:%d\n", ppp, &ppp, *(*ppp));
system("pause");
return 0;
}