#include<stdio.h> #include<conio.h> int fact(int); void main() { int x,n; printf("\nEnter the value of n :"); scanf("%d",&n); x=fact(n); printf("\n%d",x); getch(); } int fact(int n) { if(n==0) return(1); return(n*fact(n-1)); }
Recursive Function : [ Click Here ]
Incoming search terms:
- algorithm flowchart and programming for printing factorial of n numbers using function (1)
- pointer factorial program (1)
- how to flow chart of c program of finding factorial of a number using recursion? (1)
- flowchart to find the factorial of the given number using recursive function (1)
- flowchart of factorial using recursive function (1)
- flowchart in c language for factorial of a number (1)