In the class.
what is the meaning of node*head ?
Linked List insertion
hi @anindya-gupta,
e.g.
we have a linked list
1 -> 2 -> 3 -> 4 -> 5 -> NULL.
In this node * head is a pointer which is pointing to 1 which is head of linked list and from which we can access the rest of the linked list.
Please let me know if there is any other doubt.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.