I am trying to reverse a linked list using recursion and wrote the following code for it. The list is start of the list at the beginning.
node *reverse_lis
You forgot to update the next member of the first item on the linked list. Add parent->next = NULL; before the recursion call.
next
parent->next = NULL;