A factorial Problem Getting wrong answer

Sir I am getting wrong answer for my code. Can you check where I am going wrong.
The link to my code: https://ide.codingblocks.com/s/122237