Check out example codes for "c++ dereference a pointer". It will help you in understanding the concepts better.

Code Example 1

int number;
int value;
int * pNumber;

number = 5;
pNumber = &number;

assert(pNumber); // check before dereferenceing to prevent errors
value = *pNumber // Use * to dereference the pointer

Learn ReactJs, React Native from akashmittal.com