C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. Bjarne Stroustrup
Write a Factorial function using the recursive function. Write program to find the factorial of the given number using recursive The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example, Example:- 5! = 5 * 4 *3 * 2 * 1 = 120.
Factorial of '3' is :6