what is difference between static memmory allocation & dynamic memmory allocation?
Answers
Answered by
0
In general, static memory allocation is the allocation of memory at compile time, before the associated program is executed, unlike dynamic memory allocation or automatic memory allocation where memory is allocated as required at run time.
C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely malloc, realloc, calloc and free.
Answered by
0
Static memory allocation is the allocation of memory at compile time before the associated program is executed unlike dynamic memory allocation or automatic memory allocation where memory is allocated as required at run time.
Dynamic memory allocation is when an executing program requests that the operating system give it a block of main memory.
Dynamic memory allocation is when an executing program requests that the operating system give it a block of main memory.
Similar questions
Social Sciences,
8 months ago
Science,
8 months ago
Music,
1 year ago
Hindi,
1 year ago
Social Sciences,
1 year ago