Still lots of problems. I recommend you put the keyboard away for now. Start by reading lots of tutorials. Then, get out the paper and pencil. Keep drawing lists, and practicing inserting nodes...
Type: Posts; User: anduril462
Still lots of problems. I recommend you put the keyboard away for now. Start by reading lots of tutorials. Then, get out the paper and pencil. Keep drawing lists, and practicing inserting nodes...
Click_here gave some good advice, especially the "ll" part. Also
LinkedList* newNode = (LinkedList*)malloc(sizeof(ll));
newNode = *ll;
That is a memory leak. You malloc memory and store...