Storage Durations - How Object Memory is Allocated Flashcards

1
Q

How are functions stored in memory?

A

They are stored in a stack called the call stack using last in/first out protocol. One function is allocated within a stack frame. Each thread assigned to each program is given their own call stack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly