Memory & Pointers
Lesson 26Author : 🦒
Last Updated : November, 2017
Code
int num = 10;
cout << &num << endl;
int *pNum = #
cout << pNum << endl;
cout << *pNum << endl;
int num = 10;
cout << &num << endl;
int *pNum = #
cout << pNum << endl;
cout << *pNum << endl;