#include<iostream> using namespace std; int main() { int x=10; int *p; p=&x; cout << "X : "<<x<<endl; cout << "&X : "<<&x<<endl; cout << "P : "<<p<<endl; cout << "&P : "<<&p<<endl; cout << "*P : "<<*p<<endl; return 0; }To download raw file Click Here
X : 10 &X : 0x7ffd640f347c P : 0x7ffd640f347c &P : 0x7ffd640f3480 *P : 10
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions