Search:
Forum
Beginners
heap and stack
heap and stack
Feb 25, 2009 at 4:24am UTC
masiht
(222)
Can anyone please tell me what is heap and stack with explanation ??
Feb 25, 2009 at 10:03am UTC
elpis
(32)
http://www.learncpp.com/cpp-tutorial/79-the-stack-and-the-heap/
Feb 25, 2009 at 12:30pm UTC
Bazzy
(6281)
A variable declared statically is on the stack
int
i;
A variable declared dynamically is to the heap
int
*i =
new
int
;
http://www.cplusplus.com/doc/tutorial/dynamic.html
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs