In a recursive function, the _________ parameter can be used to accumulate results across calls.

  • Accumulator
  • Recursive
  • Accumulation
  • Result
In-depth content in the explanation. The accumulator parameter in a recursive function is used to accumulate and store results across multiple recursive calls. It helps maintain a running total or aggregate information during the recursion process.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *