hi,
the structure of my linked list looks like this :
typedef struct tag{
char name[100];
int emp_id;
float hrs_wkd;
struct tag *next;
}node;
Now, while inserting, i insert it based on the employee id. I need to print the list based on the employee name. For this, i have to sort the linked list based on the employee name first. Does anybody have a function for the sorting a linked list ?
thanks.