Code not working. Please tell me where I am wrong
@Gunit see line 21 https://ide.codingblocks.com/s/231513
You made a similar mistake in your previous doubt as well, so I would suggest you to go through the dry run of a recursion program (pick something more simple) to see what value gets returned and how it gets returned.