"I'm very much innocent about a linked list, but we have a case study about it"
"I'm very much innocent about a linked list, but we have a case study about it"
Last edited by llinocoe; 09-27-2008 at 10:54 PM.
* Don't cast malloc
* Indent before you go any further
* Don't use getch()
* Don't use void main()
* free() memory after you've finished with it
A start would be changing, node.data to a character array (or a pointer). If you wrote this entire code and you understand it then it shouldn't be a problem.