differences of memory allocation

What is the Difference between static memory allocation and dynamic memory allocation ?
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.