Multiple choice

Pascal implementations permit recursion(1) because

  1. They use dynamic allocation for variable

  2. They use static allocation for variable

  3. Stacks are not available on all machines

  4. It is not possible to implement recursion on all machine

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Recursion requires a new set of local variables for each function call, which is managed by dynamic allocation on the stack.