Merge sorted linked list

https://ide.codingblocks.com/s/317508 why is this code showing wrong output

at line no 32 why are you taking k??
remove this line
it will give correct output

Modified Code

1 Like

i have posted the same doobt twice the first TA didnt respond so i dont know which one i have to said get resolved.If you can yourself do it please do that.My doubt has been resolved thanks

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

please rate your experience here