C Programming - 35 - Factorial of a number using recursive function

preview_player
Показать описание
How to find the factorial of a number using function recursion.
Рекомендации по теме
Комментарии
Автор

Before teaching another, you learn first. What a bad tutorial I have found so far!

samiulislamshibly
Автор

but in this case the factorial of zero won't give 1

ziad
Автор

there is a fault in this program you must add add
int factorial (int num);
before main( )

ripeind
Автор

num of factorial argument n num which is declared in main function can't be same Na?

AnkitSingh-svym
Автор

What about zero in if condition what Id n=0?

furqaanabdul
Автор

it's really complex . u could do it in an easy way also which is looping using( for loop) ...

msjedyaqtaash
Автор

he is confused about his code and also this code dont give 1 of factorial of 0
don't recommend this

vaghelaronak