go to previous page   go to home page   go to next page hear noise highlighting

Answer:

The address of the successor node.


Linked List Nodes

The previous chapter implemented linked lists using static memory and symbolic addresses. Here is some code and a picture of what it does:


          .data
elmnt01:  .word  1
          .word  elmnt02

elmnt02:  .word  2
          .word  0


    Two Node List

This chapter will build the same structure using dynamic memory.

Each node contains an integer and an address.


QUESTION 3:

How many bytes are needed for each node?


go to previous page   go to home page   go to next page