cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
differences of memory allocation
differences of memory allocation
Mar 19, 2012 at 12:41pm UTC
mania
(15)
What is the Difference between static memory allocation and dynamic memory allocation ?
Mar 19, 2012 at 12:55pm UTC
MrHutch
(1822)
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.