I created a struct of List which included a string, double, and List *next. I have a function that looks for the mostExpensive and I created another pointer in my function to point to that node. So I find it, now I am confused how to return it to main. I know I need to return a pointer to the node...but am not sure what that means. On the last line of the function I return ...most. So...the function isn't void, but what do I put before the name of the function in the header? List *most.... *most.... ???
Very confused. Have only written a couple functions so far, but they are just sorting or printing, so they are void.
Plez respond, I have to finish this tonight!!! NightOwl