Memory & Pointers
Lesson 26Author : GOUP
Last Updated : September, 2020
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;