Next: A Linked List
Up: Dynamically Allocated Memory and
Previous: Allocating and Deallocating Memory
Contents
Practical Use of Pointers
While one can write to code to allocate memory for single scalar
variables (for example, an integer), dynamic memory allocation is
often used with more complex data structures. Most of these data
structures include the use of a pointer as a field in a record.
Subsections
Tak Auyeung
2003-12-03