Friends Problem Recursion

sir is my code correct ? please help

hello @heyiamtushar

for n=0 return 1 for n < 0 return 0.

also ther is no need of additional ncr function all we need is nc1 and nc1 is n only

https://ide.codingblocks.com/s/475530, why its coming compilation error, please help

check now->

thank you so much sir !!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.