pointers
It is common for programmers (and even textbook writers) to equate pointers with addresses,but this is a mistake.Apointer is a high-level concept: a reference toan object.Anaddress is a low-level concept: the location ofaword inmemory. Pointers are often implemented as addresses, but not always. Ona machinewith a segmented memory architecture, a pointer may consist ofa segment id and an offset within the segment. In a language that attempts to catch uses of dangling references, a pointer may contain both an address and an access key.