Given the following function definitions, where params:
functionDef
what is the value of the following function call?
functionCall
Note that, if the function call generates an exception, the
correct answer is the word "error" (without the double
quotes) in all lowercase letters.
What type of data does the accumulator contain?
What is the initial value of the accumulator?
How is the accumulator updated at each recursive call?
How is the input list updated at each recursive call?
The correct answer is: answer