I did not find where Segmentation fault happen.
Segmentation fault
merging 2 sorted linked list
sorry it is Merge Sorted Linked Lists
@thekaif7 call the merge function then. why are you calling merge sort function?
Also, you are not creating 2 lists you inserted the nodes in the same list 2 times
ooh very silly mistake . Thanks buddy.