Advertisements
Advertisements
Question
Which of the following is a normal function definition and which is a recursive function definition.
let rec sum num:
if (num!=0) then return num + sum (num-1)
else
return num
One Line Answer
Advertisements
Solution
Recursive function
shaalaa.com
Is there an error in this question or solution?
