+ 3
Hi guys! I would realy appreciate it if i get some deep explanation the concept of static and dynamic memories!
static memory
5 Answers
+ 4
My understanding is that yeah there exists both Static and Dynamic memories!
And that memory is divided into two parts;
STACK which forms the static memory and it is from which the local variables obtain their memory!
HEAP that forms the dynamic memory which is a set of unused memory in a program that is dynamically allocated when while the program is running.
I guess I have to dig deep on this so as to get it more clearer!
+ 2
Did you tried to learn it anywhere? what exactly you mean and dont understand? try to ask your question more specific.
+ 2
try to read answers from that link:
https://www.quora.com/What-is-dynamic-memory-allocation-and-static-memory-allocation
if you wont get it, try to divide your understanding into steps. take for example JVM and how it works. How it proccessing byte code and more.
if you still wont get it, i'll try to find or write example code and understand it in video with comments :)
+ 2
thank you @mikulov
+ 1
i didnt helped much :) and i looked your profile, you trying to learn multiple languages at one time, and still didnt completed no courses. try to stick to only one language and you dont need to understand about memory this time. i can recommend you to try write code and learn algorithms and math. start from fibonacci numbers for example. try to get the value of 10^7 fibonacci's number in less then 30 seconds ;)