int a = 1;// a = 值 = *p = **p1
int *p = &a;//*p = 值 = a的值 = **p 的值 | p = 地址 = a的地址
int **p1 = &p;//**p1 =值 = a的值 = *p的值 | *p1 = a的地址 = p的值(等于a的地址)| p1 = p的地址
//int **p1 *p1 = p
//a = *p = **p1;
printf("%d\n",a);
printf("%d\n",*p);
printf("%d\n",**p1);
//p = *p1 = &a;
printf("%p\n",*p1);
printf("%p\n",p);
printf("%p\n",&a);
//p1 = &p
printf("%p\n",p1);
printf("%p\n",&p);
这是我的理解 最简单的理解就是 *+地址 = 地址指向的值 |
|