0
what is difference b/w static and dynamic memory? simple and logical explaination plz
1 Réponse
+ 3
Static means that the memory for your variables is given when the program starts. This applies to global variables and variables qualified with static defined inside functions. Meaning that the size of it is fixed when the programme starts.
Dynamic means you can control the exact size and the duration of these memory locations. Meaning that the size of the memory can be changed.