QUESTION :
Write a Program to print the value of a variable 'i' by using "Pointer to Pointer" type variable.
#include<stdio.h>
int main()
{
int i = 2;
int *ptr;
int **ptr_ptr;
ptr = &i;
ptr_ptr = &ptr;
printf("The value of i is %d", **ptr_ptr);
return 0;
}
OUTPUT--->
The value of i is 2