What will be the output of the following pseudocode if the input is 5?function factorial(n): if n == 1 return 1 else return n * factorial(n-1) - Study24x7
Social learning Network
2 followers study24x7 24 Jun 2024 01:31 PM study24x7 study24x7

What will be the output of the following pseudocode if the input is 5?
See more

A

5

B

24

C

120

D

None of the above

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles