Chapter 21. Memory Access

Table of Contents

21.1. Pointer Pathology
21.2. Further Pointer Pathology with Heap Memory
21.3. Memory Access Summary
21.4. Introduction to Arrays
21.5. Pointer Arithmetic
21.6. Arrays, Functions, and Return Values
21.7. Different Kinds of Arrays
21.8. Valid Pointer Operations
21.9. Arrays and Memory: Important Points
21.10. Exercises: Memory Access
21.11. Review Questions

[ fromfile: memoryaccess.xml id: memoryaccess ]

Abstract

Arrays and pointers are low-level building blocks of C programs that provide fast access to hardware memory. This chapter discusses the different ways to organize and access memory.



[85] In the sequel, whenever we use the term container, with no further qualification, we mean Qt or Standard Library container.