Hello Guys,
so I have this question today. let's say I defined a structure like this :
struct List{
char *co;
char *di;
List* next;
};
I wanted to define a function with a pointer to a list of elements of this structure as a parameter. In the body of the function the list items should be deleted, but not the C strings ,to which the two pointers apply. Any ideas how to define this function.
Thanks a lot!