#include<iostream.h>
#include<conio.h>
int main()
{
int n;
int *ptr1, **ptr2;
clrscr();
cout<< "Enter any number : ";
cin>>n;
ptr1 = &n;
ptr2 = &ptr1;
cout<<"The entered number is : "<<n;
cout<<endl<<"The value of first pointer is : "<<*ptr1;
cout<<endl<<"The value of second pointer is : "<<**ptr2;
getch();
return 0;
}