Note: (Restricted functionality due to obvious reasons!)

For Mobile-Ease ⇓

Minimal Code ( Raw-View ) :
#include<iostream.h> #include<conio.h> #include<stdio.h> class C1{ public: int i,j,k; C1(){i = 10, j=110, k=1110; } }; void main(){ int j =20, s = j, *ptr = &j; cout<<endl<<ptr; cout<<endl<<j<<" \t "<<&j; C1 obj1, *objPtr = &obj1, *oPtr2 = new C1; // pointers to object-variables obj1.i = 232; cout<<endl<<obj1.i <<endl<<objPtr<<endl<<objPtr->i ; cout<<endl<<oPtr2->i ; getch(); }