Consider the following function that takes reference to head of a Doubly
Linked List as parameter. Assume that a node of doubly linked list has
previous pointer as prev and next pointer as next.
wold fun struct node *head_ref)
-
struct mode "temp = NULL;
struct mode current - head_ref:
while (current te ULL)
temp current - preus
current->pre = current->next;
current = current-prev,
1 )
head_met
- pre
Assume that reference of head of following doubly linked list is passed to above
function 1 <->2<->3<->4<->5<-->6. What should be the modified linked
ist after the function call
0 24->1<-> 4->3<->6<->
054->3<-> 2>1<--
05-> 4*-*
32-
4-512
Answers
Answered by
1
Answer:
What is the question
Explanation:
Answered by
0
Answer:WHAT THEEEEEEEEEEEEEEEEE
Explanation:
Similar questions
Hindi,
4 months ago
Math,
8 months ago
Math,
8 months ago
Computer Science,
11 months ago
Math,
11 months ago