Tower of hanoi recursion

the code which is used here is giving error in compiler ??
how to approach this problem?

Please Send the link of your code

so that i can check and rectify your mistake

for concept of tower of hanoi watch videos on recursion

how to send Link of Code ?
paste you code at

click on file->save->link will be generated
send the link of code generated
it will look like https://ide.codingblocks.com/s/258793\

no not my code but the code that sir used in the video!!!

No
in video sir’s code is working fine