CPP:Merge Sorted Linked List

My code is failing one test case. Pls Help.
The Code is:

Hey @Riankk
Instead of if(a->data< b->data)
you need to write
if(a->data<=b->data)
the case where a->data = b->data has also to be covered.
So this way all possible cases will be covered.