+ 1

The stack and the heap exist on RAM..isn't it ? And we use the heap just when we are not sure about the size of input ?

25th Apr 2017, 10:09 PM
De Vinci
7 Antworten
+ 3
there are no check mark of best answer in my app..maybe because i use the c++ app..so the features is limited
28th Apr 2017, 6:24 PM
De Vinci
+ 2
Could be RAM or the OS can swap program memory to disk under certain conditions. stack is allocated once during runtime and remains for the lifetime of the process. When you allocate memory procedurally it is done on the heap and is removed from the heap when it is deallocated.
26th Apr 2017, 3:30 AM
Mason Krei
Mason Krei - avatar
+ 2
Would you be so kind as to mark my comment as the answer? It's the check mark next to my comment. Thank you.
28th Apr 2017, 5:29 PM
Mason Krei
Mason Krei - avatar
+ 2
which check mark ? i've already put like for your comment
28th Apr 2017, 6:00 PM
De Vinci
+ 2
There should be a check mark under the Up Vote/Down Vote to the left that marks it as "best answer".
28th Apr 2017, 6:16 PM
Mason Krei
Mason Krei - avatar
+ 2
Thank you, you've actually answered a question on another thread about why check marks aren't seen by all. I'm using the "complete" version.
28th Apr 2017, 6:27 PM
Mason Krei
Mason Krei - avatar
+ 1
And the answer achievement has unlocked for me :)
28th Apr 2017, 7:06 PM
De Vinci