My Code : Click Here
I am getting a runtime error whenever I try to run a mergesort for my given linked lists.
Please help me to figure it out.
My Code : Click Here
I am getting a runtime error whenever I try to run a mergesort for my given linked lists.
Please help me to figure it out.
while finding the mid point it should be: fp!=NULL && fp->next != NULL instead of fp!=NULL || fp->next != NULL