i want to reverse linked list till half so that i can check pallindrome but my rev fxn not working
so plz see it
Plz solve my query
Hey @rakesh800650
This is because you are doing n-- in main which makes n 0 ,so when u send it to reverse function its value was 0