typedef struct List { struct List *next; }* Liste; Liste insert(Liste x){ Liste y,p,t; if(x==NULL){ y=malloc(sizeof(struct List)); y->next=NULL; x=y; } else{ if(any){ y=malloc(sizeof(struct List)); y->next=x; x=y; } else{ p=x; t=x->next; while(any){ if(t!=NULL){ p=t; t=t->next; } } y=malloc(sizeof(struct List)); p->next=y; y->next=t; } } return x; }