Комментарии:
The heap is messy the stack is ordered. Nah im jk
ОтветитьStack actually grows from the top to down in memory address
ОтветитьHe is not even wrong heap and stack are 2 data structures I love how some people who know the memory regions feel superior although they don’t know the heap as a data structure.
ОтветитьStack - compile time
Heap - runtime