I tried to create a new implementation of a link list using except head also the tail of the struct.
The problem is that I don’t understand how to use the NODE *tail;
And what is the profit to use it?
The struct is presented bellow :
typedef struct node
struct node *next;
typedef struct list