![]() |
Linked List
This is a short program for a linked list. I am not sure if I got the process correctly. Any help is much appreciated.
Code:
|
Re: Linked List
There's no main function so it's impossible to know how you're using it. Write a main function, create a list, add some items at varying points in the list (top, middle, end), delete some items (also from varying places including the endpoints), display the resulting list and see if it's what you expect. If not then you've got a problem.
|
| All times are GMT +5.5. The time now is 11:32. |