< previous page page_1055 next page >

Page 1055
currPtr->link = newNodePtr;
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
The pointer to the new node containing 70.1 in the component member is copied into the link member of the node that contains 45.2.
1055-01.gif
newNodePtr->link = NULL;
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
The special pointer constant NULL is stored into the link member of the last node in the list. When used in the link member of a node, NULL means the end of the list. NULL is shown in the diagram as a / in the link member.
1055-02.gif
currPtr = newNodePtr;
currPtr is updated.

 
< previous page page_1055 next page >