Stack & Registers Flashcards

1
Q

Which of the following does not get stored in a stack?

A) return address
B) local variables
C) arguments
D) global Variables
E) Meta Data
F) base pointer
G) D,E
H) E,F
I) D,E,F
A

Answer G

Global Variables are stored in the data segment in memory. Meta Data is stored with allocated chunks of a heap.

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