#include <iostream>
using namespace std;
int main ()
{
int var = 20;
int *ip, *iq;
ip = &var;
cout << "Value of var variable: ";
cout << var << endl;
cout << "Address stored in ip variable: ";
cout << ip << endl;
cout << "Value of *ip variable: ";
cout << *ip << endl;
var++;
cout << "var++, then Value of *ip variable: ";
cout << *ip << endl;
*ip=*ip-10;
cout<<"*ip-10 equal var-10: ";
cout<<var<<' '<<*ip<<endl;
iq=ip;
cout<<"iq have the same the Address of ip, so *iq have the same Value of var ";
cout<<*iq;
return 0;
}