what is difference between static and dynamic memory allocation in c++
Answers
Answered by
1
Answer:
Explanation:
In the static memory allocation, variables get allocated permanently. In the Dynamic memory allocation, variables get allocated only if your program unit gets active. Static Memory Allocation is done before program execution. ... In static memory allocation, once the memory is allocated, the memory size can not change.
Answered by
1
In the static memory allocation, variables get allocated permanently. In the Dynamic memory allocation, variables get allocated only if your program unit gets active. Static Memory Allocation is done before program execution. ... In static memory allocation, once the memory is allocated, the memory size can not change.
Hope it helps u mate ❣️
Similar questions
CBSE BOARD X,
26 days ago
Math,
26 days ago
Math,
1 month ago
Social Sciences,
1 month ago
Math,
8 months ago
Math,
8 months ago