Programming Code Center(PCC)
[C]

(PCC)::[How-to-write-a-C-program-to-Find-Factorial-of-a-Number-Using-Recursion]::[c]

File Name : Factorial_of_Number_Using_Recursion.c

//Factorial of a Number Using Recursion
#include<stdio.h>
long int multiplyNumbers(int n);
int main() {
    int n;
    printf("Enter a positive integer: ");
    scanf("%d",&n);
    printf("Factorial of %d = %ld", n, multiplyNumbers(n));
    return 0;
}

long int multiplyNumbers(int n) {
    if (n>=1)
        return n*multiplyNumbers(n-1);
    else
        return 1;
}

Output :

Factorial_of_Number_Using_Recursion.jpg