14 - Subroutine calls Flashcards
1
Q
What does the stack frame hold ?
A
- Parameters
- Local variables
- Return addresses
2
Q
When are recursive subroutine calls useful ?
A
To have a factorial function, for example.
3
Q
How many return called will a program have if it has n subroutines ?
A
It can’t be said.