Thanks. As I thought.
Is there any benefit to typedef'ing a pointer? All I can think is it means you don't have to type Node *list, just Link list.
Type: Posts; User: nicm
Thanks. As I thought.
Is there any benefit to typedef'ing a pointer? All I can think is it means you don't have to type Node *list, just Link list.
I'm writing a function to recursively merge and sort a linked-list. (An improved merge-sort algorithm that avoids scanning the list.)
The function needs to return the sorted first half of the list...