Computer Science, asked by sohithrajasai, 5 months ago

The following is a function for deleting a node from a double linked list. How would you change the block of code (marked P) below
to ensure that it works properly.
void deleteNode (Node* curr)
{
P;
}
A. O curr->prev->next = curr->prev; curr->next->prev = curr->next;
B. O curr->prev->prev = curr->prev; curr->next->next = curr->next;
c. O curr->prev->prev = curr->next; curr->next->next = curr->prev;
D. O curr->prev->next = curr->next; curr->next->prev = curr->prev;
<< First
< Previous
11
Next >
Last >>​

Answers

Answered by Anonymous
0

Answer:

uffutdtiduocouguiciyciyv khckyv yyyyyyyyyy yy yy byyy yyyyyyyyyioovi o o p o ppoobobijpkbuocixiycgkhiidoy ho up hooh oh pxyipv lhoh coypucpucoh pucxpyicpu pu to,pyxivpkh khiyxcupkhyxixoypjcjl ouxljcchoucnv jooydhlc

Similar questions