Question: To simplify list processing, a header node is defined as a placeholder node at the beginning of a list and a trailer node is defined
To simplify list processing, a header node is defined as a placeholder node at the beginning of a list and a trailer node is defined as a placeholder node at the end of the list. When a list is empty, which statement is NOT correct?
a) the header and trailer reference to the same node
b) the header and trailer nodes point to different nodes
c) the header node points to the trailer node
d) the header and trailer nodes have null value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
