Two different pointer variables
Two pointer variables are declared and used in
Listing 5.
- The variable named ptrToObject points to an object
that is instantiated in dynamic memory.
- The variable named ptrToVar points to a local
variable in a function.