So far our examination of C++ has taken us through variables and constants to all kinds of methods for dealing with them. Conditional statements, program branches, and loops are all fundamental to the idea of handling data in C++. This chapter takes data a step further in C++ as we explore pointers. This is a subject of great importance for C++, as pointers and offer tremendous power and flexibility. This chapter considers the following subjects:
Memory addresses
Pointers
Pointer dereferencing
Address Of
Pointer arithmetic
Pointers and arrays