1.

What is difference between static and dynamic memory allocation in c++

Answer»

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.



Discussion

No Comment Found