What and where are the stack and heap
Where is heap memory and stack memory stored?I mean where on the harddisk?what are the limits of their size?
Duplicate of dozens of other questions here, including What and where are the stack and heap. For the record, the stack is never stored on the hard disk, and (some) data on the heap is only stored on disk in the pagefile when the OS decides to page it out of memory.
there are in RAM, not on hard disk