...
GATE 2006-IT
December 14, 2023
Programming
December 14, 2023
GATE 2006-IT
December 14, 2023
Programming
December 14, 2023

GATE 1987

Question 25

In a circular linked list organisation, insertion of a record involves modification of

A
One pointer.
B
Two pointers.
C
Multiple pointers.
D
No pointer.
Question 25 Explanation: 
Suppose we have to insert node p after node q then
p → next = q → next
q → next = p
So, two pointers modifications.
Correct Answer: B
Question 25 Explanation: 
Suppose we have to insert node p after node q then
p → next = q → next
q → next = p
So, two pointers modifications.

Leave a Reply

Your email address will not be published. Required fields are marked *