0
Dynamic link list
how to create dynamic link list in c?
3 Respostas
0
https://code.sololearn.com/c3i52Y35Dh3u/?ref=app
To iterate through the list make a new pointer, set it to 'head' and move while your node != null.
To add an item, get to the last node of the list, allocate memory for a new item, set next->value.
It is worth making a pointer that points to the last item.
etc.. Hope it helps.
0
Steppenwolf thank you. can you tell me the code in c. I Am not able to create the logic
0
Check the code once again. I have modified it. Sachin Bhandari