dereference a pointer code example
Example: c++ dereference a pointer
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