write the advantages of static memory allocation.?
Answers
Answered by
6
Answer:
- Static allocation is done at compile time when you know the size of the array.
- The memory size allocated to “data” is static. ...
- Global variables are declared “ahead of time,” such as fixed array.
- Lifetime of Static allocation is the entire runtime of program.
- It has efficient execution time.
Answered by
0
Answer:
Static allocation is done at compile time when you know the size of the array.
The memory size allocated to “data” is static. ...
Global variables are declared “ahead of time,” such as fixed array.
Lifetime of Static allocation is the entire runtime of program.
It has efficient execution time.
follow 4 follow
Similar questions