C++ Language/Indirection/Pointers

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Evaluating the name of a pointer variable (piVar) produces a memory address. Evaluating the "dereferencing" of that pointer variable (*piVar) produces whatever value had been stored in memory at that memory address.

Additional information about pointers