Vidyalelo
Data Structure · Q29

Linked Lists in Data Structures

Programming · Data Structure · question 29

Q29

What happens when you try to delete the last node in a singly linked list?

A.
The list becomes empty
B.
The previous node's next pointer is set to null
Answer
C.
An error occurs
D.
The head pointer is updated

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board