Declarations for Linked Lists
A program can keep track of the front node by using a pointer variable such as head_ptr in this example.
Notice that head_ptr is not a Node -- it is a pointer to a Node.
null
head_ptr
Previous slide
Next slide
Back to first slide
View graphic version