In tail recursion, the recursive call is the _______ action to be performed in the function. 

  • first 
  • middle 
  • penultimate 
  • last
In tail recursion, the function's recursive call is the last action executed. The significance of tail recursion is that the current function frame can be discarded before the recursive call is made, potentially allowing compilers to optimize the recursion by reusing the current function's stack frame for the next.
Add your answer
Loading...

Leave a comment

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