MCQOPTIONS
Saved Bookmarks
| 1. |
select the set of operations to insert a node pointed by q at the beginning of the linked list |
| A. | q->next=head; head=q; |
| B. | head=q;q ->next=head; |
| C. | both (a)and(b) |
| D. | none of these |
| Answer» B. head=q;q ->next=head; | |