Tower of hanoi recursion

why it is giving wrong answer although the code is correct?

Hey @avinashmallik2017
Can you post your code?