TP6 Correction list.c
This commit is contained in:
parent
04bb2bec3a
commit
f7e3478fce
2 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@ void insertinList(Liste* mylist, int el)
|
|||
{
|
||||
Cell* newCell=(Cell*) malloc(sizeof(Cell));
|
||||
newCell->key=el;
|
||||
newCell->nextC=*mylist;
|
||||
*mylist=newCell;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue