Notifications
Clear all
Topic starter
A developer writes the code below to calculate the factorial of a given number function sum(number)
{
return number * sum(number-1);
}
sum (3);
what is the result of executing the code?
- A . 0
B. 6
C. Error
D. -Infinity
Suggested Answer: C
Posted : 19/11/2022 11:59 pm