Q. Select the set of operations to delete the first node from a linked list (Solved)
1. p=head;head=head->next;free(p);
2. free(head)
3. head=head->next;p=head;free(p)
4. none of these
- a. p=head;head=head->next;free(p);
1. p=head;head=head->next;free(p);
2. free(head)
3. head=head->next;p=head;free(p)
4. none of these