| | | | | |

After PushFront ('C')

Client code

List < char > L;  // declare a list
L.PushFront('A'); // push 'A' to front
L.PushFront('B'); // push 'B' to front
L.PushFront('C'); // push 'C' to front

Implementation Animation

    Implementation view

    empty list

| | Top of Page | 3A. Chalktalk: List - PushFront() and Testing - 14 of 16