+ 4
Stack and heap
Could anyone explain me about stack and heap in an easy way to understand? I’m really no idea about them
3 ответов
0
Thanks Nithiwat
+ 21
https://m.youtube.com/watch?v=Jt9ewQU-q4w
🎥 What is the difference between Stack and Heap - Programming ...
+ 3
Stack is used for static memory allocation while heap is used for dynamic memory allocation.
all value types are stored on the stack while objects data are stored on the heap and Memory address for that object is stored on the stack