Intersection point two linked lists

what is wrong in this code.
ide link --> https://ide.codingblocks.com/s/173477

@mikkyimran
error

  1. your code will not work when given lists are of difference sizes.
    for example
    4
    1 2 3 4
    7
    5 6 7 8 2 3 4

2.you need to compare both data as well as address to find intersection but u are only comparing data.

3.you are returning data once you find data of two nodes are equal but actually you need to compare till the end of both the list .