The following code shows how to Find Factorial of a Number using Recursion in C Language.

// Recursive Function to Find Factorial of a Number

#include <stdio.h>
int recursive_factorial(int n)
{
    if(n==0)
      return 1;
    else
      return n*recursive_factorial(n-1);
}
int main()
{
    int mynumber, result;
    printf("Enter a Number: ");
    scanf("%d", &mynumber);
    
    result=recursive_factorial(mynumber);
    printf("Factorial of %d is %d", mynumber, result);

    return 0;
}

Output

Recursive Function to Find Factorial of a Number
Recursive Function to Find Factorial of a Number

Further Reading

50+ C Programming Interview Questions and Answers

C Program to Find Factorial of a Number