Home » questions » What the "Stack" and the "heap" are.?
What the "Stack" and the "heap" are.?
Okay trying to remember this from my C++ class.. but it been a while.. the "stack" is where all the variables that are declared and initialized before runtime are stored in the RAM right? and the "heap" is where all the variables created or initialized at runtime are stored in RAM.. I am probably so wrong, but uhm how close was I?

Answers
anonymous
On 2006-08-06 21:56:33
up.tobat
On 2006-08-06 21:51:58
JKP
On 2006-08-06 21:54:38