+ 3
Differentiate between STACK MEMORY and HEAP MEMORY.
4 RĂ©ponses
+ 11
I cannot REMEMBER.
My MEMORY is a BROKEN MEMORY.
+ 3
The gist of both is that stack memory is static and automatically handled by the compiler, whereas heap memory is dynamic, but must be allocated and freed manually and tends to be unstable.
+ 2
1. heap memory unlimited size, but slower access time, used in dynamic memory allocation
2. stack faster access but limited size
+ 1
@Ahri Fox đ