Input
Output
#include<stdio.h> void main(){ int x=20; int *p1,**p2; p1=&x; /* x address store in p1 pointer variable */ p2=&p1; /* double pointer */ printf("Address of x variable is %x \n",&x); printf("Address of p1 variable is %x \n",p1); printf("Address of p2 variable is %x \n",p2); printf("Value of *p1 variable is %d\n", *p1 ); printf("Value of **p2 variable is %d\n", **p2 ); }