Program to display fuctioning of pointer to a pointer
Function- No Return With Argument Passing
/*
Pointer Expression
*/
#include<stdio.h>
#include<conio.h>
void main ()
{
int i=9;
int *j; // pointer variable
int **k; // pointer to a pointer
j=&i;
k=&j;
clrscr();
printf("\n\n Address of i= %d",&i);
printf("\n Address of i= %d",j);
printf("\n Address of i = %d",*k);
printf("\n\n Address of j= %d",&j);
printf("\n Address of j= %d",k);
printf("\n\n Address of K is %d",&k);
printf("\n\n The value of i= %d",i);
printf("\n The Value of i= %d",*(&i));
printf("\n The Value of i= %d", *j);
printf("\n The Value of i= %d",**k);
printf("\n\n The value of j= %d",j);
printf("\n The value of k= %d",k);
printf("\n\n\n ****** Enter Any Key To Exit ******");
getch();
}