MCQOPTIONS
Saved Bookmarks
| 1. |
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» B. p->next=q; q->next=p->next | |