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.
2
Q
A