The following situation(s) will result in an underflow when a node is deleted…
2022
The following situation(s) will result in an underflow when a node is deleted from a linked list. Statements: (A) List is full (B) List is empty (C) List has only one element Choose the correct option.
- A.
Only (A) is correct
- B.
Only (B) is correct
- C.
Only (C) is correct
- D.
Only (B) and (C) are correct
Attempted by 931 students.
Show answer & explanation
Correct answer: B
Underflow is a condition that occurs when we try to delete a node from a linked list that is empty. This happens when START = NULL, meaning there are no nodes available to delete.