DEFINITION - FUNCTION
node& = GetTail&(list&) -- return the tail (Min)ListNode& from a list
OPERATION
Get the last (Min)ListNode& from a list, and return a pointer to it.
If the list is empty, return zero.
ARGUMENTS
list& -- pointer to the target (Min)ListHeader&
RESULT
node& -- pointer to the tail (Min)ListNode& or zero when empty list
SEE ALSO
Scanning a List
Back to Function Reference