Recursive Functions
•
Behavior of a recursive function:
–
When a function is called recursively, a local environment is created
for each call;
–
Local variables of recursive calls are independent of each other, as if
we were calling different functions.