280 likes | 493 Views
This chapter in the book includes: Introduction 14.1 The Concept of Pointers 14.2 Breadth: Memory 14.3 Arrays and Pointers 14.4 Dynamic Memory Allocation 14.5 Pointer Data Members 14.6 User-Defined Types 14.7 Pointers and Structures 14.8 Function Pointers
E N D
This chapter in the book includes: Introduction 14.1 The Concept of Pointers 14.2 Breadth: Memory 14.3 Arrays and Pointers 14.4 Dynamic Memory Allocation 14.5 Pointer Data Members 14.6 User-Defined Types 14.7 Pointers and Structures 14.8 Function Pointers Programming and Debugging Hints Key Terms Summary Review Questions Laboratory FIGURES FORCHAPTER 14POINTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter.
Figure 14.1: Memory after declaration and assignment statements involving a pointer
Table 14.1: Summary of Meaning of Code for Declaration-Initializations int v = 5, *ptr = &v;
Figure 14.5: Memory after execution of declaration-initialization
Figure 14.9: Memory after execution of the following statements
Figure 14.12: Storage of an integer array in a byte-addressable computer with each integer in 2 bytes
Figure 14.13: Memory after declaration-initialization in Example 14.4
Figure 14.14: Storage of an integer array in a byte-addressable computer, with each integer in 2 bytes and access through pointers
Figure 14.18: Action of hi.asterisk() indirectly affects cpy
Figure 14.22: Linked list after declaration of head and allocation of a first node
Figure 14.24: Memory after allocation of the second node in the linked list