/* Structure for a linked list*/ struct list{ Â Â Â int num; Â Â Â struct list* next; /* pointer to next node in list*/ }; /* Function to insert node into a linked list, given the head pointer and the value to be inserted */ void insert(struct list **head,int value) {
Program to insert a node in the linked list
August 29th, 2009 | by Amit Sahrawat | published in Amit Sahrawat, Data Structures, Linux Sample Programs