#include<stdio.h> main() { int a,b,c,*d,**e,***f; printf("Enter an integer"); scanf("%d",&c); d=&c; e=&d; f=&e; printf("Methods:\nValue entered = %d\n",***f); printf("Value entered = %d\n",**e); printf("Value entered = %d\n",*d); printf("Value entered = %d\n",c); printf("Value entered = %d\n",*(&c)); }
Output: