CPP linked list merge sort

in the merge sort function line 236 onwards,in the output why the sorted linked list is not printed

You arent using the correct input format, Try to use the same format as per wht is given in the question, where u need to input the test case, then length of linked list, then the another list… Pls change your code accordingly…