Which of the following will insert the node pointed to by newPtr between the nodes pointed to by aPtr and bPtr in a linked list?
a) newPtr->link = aPtr;
bPtr->link = aPtr;
b) aPtr = newPtr->link;
bPtr = newPtr->link;
c) aPtr->link = newPtr->link;
newPtr->link = bPtr->link;
d) aPtr->link = newPtr;
newPtr->link = bPtr;
d) aPtr->link = newPtr;
newPtr->link = bPtr;
Computer Science & Information Technology
You might also like to view...
The values in parentheses in the SUM function (and other functions) are known as ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
The NOW function is used to return only the current date
Indicate whether the statement is true or false.
Computer Science & Information Technology