The last node of a singly linked list is recognized by:
2023
The last node of a singly linked list is recognized by:
- 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 389 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.