**I am getting segmentation fault error in this program . It is for inserting the nodes at the head, middle and tail of the linked list. Here is the full process of the code