Explanation: fact(n) = n * fact(n – 1) can be used to find the factorial of a number.
Q. Which of the following recursive formula can be used to find the factorial of a number?
β
Correct Answer: (C)
fact(n) = n * fact(n-1)
Explanation by: Mr. Dubey
fact(n) = n * fact(n – 1) can be used to find the factorial of a number.
Discussion
Question Analytics
1048
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
94%
Success Rate