Chapter 22. Memory Access
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.
Further Pointer Pathology with Heap Memory
Memory Access Summary
Introduction to Arrays
Arrays, Functions, and Return Values
Different Kinds of Arrays
Valid Pointer Operations
What Happens If new Fails?
Direct manipulation of memory entails some serious risks and requires good practices and thorough testing to avoid serious errors. Improper use of pointers and dynamic memory can cause program crashes that result from heap corruption ...