![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
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» A. q->next=head; head=q; |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet