Memory-Management Models

As a developer, you have several choices for how memory is allocated and freed. Consider a complex data structure that consists of nodes connected with pointers, such as a linked list or a tree. You can apply attributes that select one of the following models: