I search for hours and get thousands of dicussions but get confused. I'm fresher and I want to simply ask my questions.
Where is the location of heap memory and stack memory in RAM?
Is it like that, when a certain part of the memory is used as a stack data structure, it is called stack memory? And if the same memory is used as a heap, it is called heap memory? I mean, Are they using same memory location in different times?
Or are there separate space for stack and heap in memory? I mean RAM is split into portions for performing stack and heap operations.