Vidyalelo
Data Structure · Q10

Linked Lists in Data Structures

Programming · Data Structure · question 10

Q10

What happens if you try to access the next pointer of the last node in a singly linked list?

A.
Segmentation fault
B.
Null reference
Answer
C.
Points to the head of the list
D.
Accesses the first node

Answer: Option B

Solution

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