Assume a linked list is made of nodes from a Node struct, which has an info data member and a next data member. Suppose a pointer called ptr points to a node in the middle of the linked list. To move ptr to the next node, we should use the code:

A. ptr = next;
B. next->ptr;
C. ptr->next;
D. ptr = ptr->next;

D

Computer Science & Information Technology

You might also like to view...

________ is the semiconductor material used to make transistors

A) Strontium nitrate B) Titanium oxide C) Carbon D) Silicon

Computer Science & Information Technology

Which of the following is not an element observed in STROBE?

A) office location B) desk placement C) office lighting D) desk chair fabric

Computer Science & Information Technology