Saved Bookmarks
| 1. |
Differentiate static and dynamic memory allocation. |
|
Answer» When the amount of memory to be allocated is known in advance and memory is allocated during compilation itself, it is referred to as static memory allocation. When the amount of memory to be allocated is not known in advance and it is required to allocate memory as and when required during run time, it is known as dynamic memory allocation. |
|