differences of memory allocation

Mar 19, 2012 at 12:41pm
What is the Difference between static memory allocation and dynamic memory allocation ?
Mar 19, 2012 at 12:55pm
In terms of memory allocation the main difference is that static memory is allocated from the stack.

Dynamic memory is allocated from the heap.

http://www.learncpp.com/cpp-tutorial/79-the-stack-and-the-heap/
Topic archived. No new replies allowed.