What will happen after insertion to the left of reference node of single linked list if it is the first node?
A. Reference node will be removed from single linked list
B. Reference node still will be first node
C. None of the above
D. Reference node becomes 2nd node
Reset Selection
Answers
Answered by
0
Answer:
Reference node becomes 2nd node
Explanation:
in linked list we have a pointer called header which points towards the head of the linked list..
so if we add a node before the first node the header will point towards newly appointed first node..
and poor reference node becomes second node '-'
Similar questions