Consider the following function:
function factorial(integer n)
if (n == 1) then
return 1
else
return n * factorial(n-1)What are the correct statements about this recursive function?
Consider the following function:
function factorial(integer n)
if (n == 1) then
return 1
else
return n * factorial(n-1)What are the correct statements about this recursive function?
Create a free account to access the full topic