Difference between stack and heap
As we have discussed in many of the previous articles that whenever we run a process, the operating system automatically allocates some space for it in memory (secondary storage). This memory allocation of a process is of major concern in operating systems. Whenever we run a process or a code the allocated space of memory … Read more