C program to find factorial of a number using pointers

C program to find factorial of a number using pointers

Output:

Enter a number to get its factorial:
4
The factorial of 4 is 24

Implementation: