Error in my code please tell where i am wrong

check the function intersectionOfTwoLinkedLists