History, asked by vyshnavikalyanigudim, 3 days ago

Help
The following is a function for inserting an element into a Double Linked List and returning the new list.
lines marked A, B and C to achieve the required functionality. Please note that "prevNode" is the node
needs to be inserted
Node.insertValue (Node* prevNode, int value) {
Node tinewelem = new Node ());
neive bem-value value;
neuve Lamprevi prevNode;
prevNode->next newElem; // A
new Elem. >next = prevNode->next; // B
prevNode->next->prev newElen; //C
АСС. В. А
Б. СВ. А.С​

Answers

Answered by Buckycat
0

Answer:

Answer Answer Answer Answer

Similar questions