McqMate
| 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; | |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet