Why i am getting wrong output
Intersection point of two linked list
hello @vaishnavtannu ,

you are not updating diff variable in these two while loop.
add diff- -; inside both the loops.
@vaishnavtannu
here u are modiying ur n1 and n2

both will become 0 after while loop.
so store their values somewhere for later uses.