The last node of a singly linked list is recognized by:
2023
The last node of a singly linked list is recognized by:
Answer: D. Its address field containing the NULL reference — The last node of a singly linked list contains a NULL reference in its address field, indicating the end of the list.
- A.
Its data field being empty
- B.
Its address field being empty
- C.
Its address field containing the address of the first node
- D.
Its address field containing the NULL reference
Attempted by 627 students.
Show answer & explanation
Correct answer: D
The last node of a singly linked list contains a NULL reference in its address field, indicating the end of the list.
Loading lesson…