Q.

Select the set of instructions to insert a node pointed by q after a node pointed by p

A. q->next=p->next; p->next=q;
B. p->next=q; q->next=p->next
C. both (a)and(b)
D. none of these
Answer» A. q->next=p->next; p->next=q;
660
0
Do you find this helpful?
9

Discussion

No comments yet