Hi All
Please pardon me as I'm only a beginner programmer, I would love to know about the usage of Stack and Heap. I found something
in C programming http://www.programmerinterview.com/d...tack-and-heap/
According to this article :
Please pardon me as I'm only a beginner programmer, I would love to know about the usage of Stack and Heap. I found something
in C programming http://www.programmerinterview.com/d...tack-and-heap/
According to this article :
How long does memory on the stack last versus memory on the heap?
Once a function call runs to completion, any data on the stack created specifically for that function call will automatically be deleted.
Any data on the heap will remain there until it’s manually deleted by the programmer.
Once a function call runs to completion, any data on the stack created specifically for that function call will automatically be deleted.
Any data on the heap will remain there until it’s manually deleted by the programmer.
Comment