0

#include <stdio.h> //function declaration int factorial(int num); int main() { int x = 5; printf("The factorial o

Can any one explain me how the flow of the else block in factorial function declaration is working? i am not getting how it is calculating the factorial .

2nd May 2019, 6:57 AM
Rahul Jaiswal
2 odpowiedzi
+ 1
Just use a recursive method
2nd May 2019, 10:36 AM
Werg Serium
Werg Serium - avatar
0
Yeah i got it. Actually i wasn't understanding the flow of recursive function...any way thank you
2nd May 2019, 1:03 PM
Rahul Jaiswal