Merging Two Sorted linked lists

I have coded the solution, and i am getting wrong solutions and TLE as well.

Can you tell me where am i doing mistake?

Here is link of my code:

@srivastavasagar2001 let me check your code.

@srivastavasagar2001 hey corrected your code ,please checkhttps://ide.codingblocks.com/s/233896

Thanks , it’s working now…

@srivastavasagar2001 welcome bhai