click below
click below
Normal Size Small Size show me how
Recursion
| Question | Answer |
|---|---|
| A function is called ___________ if it calls itself. | recursive |
| Every recursive function must have one or more ___________. | base cases |
| The base case ___________ the recursion. | stops |
| While tracing a recursive function: • Every call to a recursive function creates of local ___________. • After completing a particular recursive call, control goes back to the ___________ | variables, calling environment |
| The execution in the previous call begins from the point immediately ___________ the recursive call | following |