int main(void)
{
int a;
int *p; int **p1; a = 5; p = &a; p1 = &p; printf("\n"); printf("the address of a is %p\n", &a); printf("the value of p is %p and the adress of p is %p\n", p, &p); printf("the value of p1 is %p and the address of p1 is %p\n",p1, &p1); printf("\n\n"); printf("a's value is %d\n", a); printf("a's value is %d access by first pointer\n", *p); printf("a's value is %d access by second pointer\n",*(*p1)); printf("\n"); }