Understanding Program Memory
The chapter starts by looking at how the system stores (in the computer's memory) the data used by an application. Having a clear understanding of memory layout makes it easier to get started with pointers.
The point of any computer program is to process data. This data is stored in your computer's main memory. Every piece of data in memory has a unique address, defined in bytes. Some of the pieces have a name in addition to an address; those pieces are called variables, which is what you have been using so far.
Picture your computer's memory as a very long row of cells that store data, each with a unique address, and each 1 byte in size. The system assigns your variables to these memory cells, and every variable ...