#include<iostream.h> #include<conio.h> main() { clrscr(); int value=10; int *value_ptr; value_ptr=&value; cout<<\"\\n ******** Addresses ******** \"<<endl; cout<<\"\\t Address of value = \"<<&value<<endl; cout<<\"\\t Address of value_ptr = \"<<&value_ptr<<endl; cout<<\"\\t Address stored in value_ptr = \"<<value_ptr<<endl; cout<<\"\\n ******** Values ******* \"<<endl; cout<<\"\\t Value of value = \"<<value<<endl; cout<<\"\\t Value of value_ptr = \"<<value_ptr<<endl; cout<<\"\\t Value stored in value_ptr = \"<<*value_ptr<<endl; cout<<\"\\n ******* \'*\' and \'&\' are comlement of each other *****\"<<endl; cout<<\"\\t Value of *&value_ptr = \"<<*&value_ptr<<endl; cout<<\"\\t Value of &*value_ptr = \"<<&*value_ptr<<endl; getch(); return 0; }