Q395
Which of the following recursive formula can be used to find the factorial of a number?
A.
fact(n) = n * fact(n)
B.
fact(n) = n * fact(n+1)
C.
fact(n) = n * fact(n-1)
AnswerD.
fact(n) = n * fact(1)
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board