Hi
I'm having trouble completing the function void list::displayReverse() which basically displays the elements in the linked list in reverse. I have tried every possible way but it just doesn't seem to work. It has to bone through a singly linked list. The function is associated with the struct
andCode:struct node { int data; node *next; };
the class private functions
Can someone assist me in thisCode:private : node *first; // start of list node *last; // last in list
Thanks.