Linked List - K Reverse

What is the problem in this code??