home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_11 / 635.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  674KB  |  2550x3300
Labels: book | bookcase | crt screen | poster | reckoner
OCR: 11.6 A Linked List- The Theory and an Example 635 om- type lement, and the next member, which points to the next node in the list. rect node with NULL pointer in the next member will signify the end of the list The ans linked list itself is declared as.a pointer to a node For example for struct node When the list is set up properly it has the configuration depicted in Figure 11-4 The by if it NULL when ght need uter. Figure 11-4 Completed Linked List What rogram One of "the advantages of using linked list is that unlike in an array, the number : items in the list does not have be accurately approximated at compile time Another advantage is that insertions and deletions in a linked list can be done by adjusting two pointers, while insertions and deletions in an array involve shifting data u ...