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;
1.6k
0
Do you find this helpful?
1

Discussion

No comments yet

Related MCQs