in Programming in C edited by
21,231 views
3 votes
3 votes

In circular singly linked list, insertion of node requires modification of how many pointers?

  1. 1 pointers
  2. 2 pointers
  3. 3 pointers 
  4. 4 pointers
in Programming in C edited by
21.2k views

2 Comments

it will require modification of 2 pointers viz. next of node N1 after which insertion is to be done and next of new node.

2
2
circular singly linked list or doubly.

In Singly: 2 pointers in middle, 1 in end

In Doubly: 4 pointers in middle , 2 in end
0
0

1 Answer

5 votes
5 votes
Best answer

for circular singly linked list,

selected by

4 Comments

Because head pointer is also modified at the end...!!
0
0
What will be if we don't change the head pointer ???
0
0
The first two operations are the must. No need for third operation.
0
0