Doubly-linked list/Traversal: Difference between revisions
Content added Content deleted
m (→{{header|PL/I}}: Fixed typo (teh → the)) |
|||
Line 1,483: | Line 1,483: | ||
t => back_pointer = tail; /* Point the new tail back to the old */ |
t => back_pointer = tail; /* Point the new tail back to the old */ |
||
/* tail. */ |
/* tail. */ |
||
tail = t; /* Point at |
tail = t; /* Point at the new tail. */ |
||
tail => fwd_pointer = bind(:node, null:); |
tail => fwd_pointer = bind(:node, null:); |
||
/* Set the tail link to NULL */ |
/* Set the tail link to NULL */ |