| Namespace & Dynamic Memory |
| |
| Introduction of Dynamic Memory |
| |
| With the help of dynamic memory we can determine memory required by variable during runtime. |
| |
| We find two type memory allocation static memory allocation and dynamic memory allocation. |
| |
| In static memory allocation there is wastage of memory, but with the help of dynamic memory allocation we can save the amount of memory. |
| |
| we need a variable amount of memory that can only be determined during runtime? For illustration, in the case that we need some user input to decide the essential quantity of memory space. |
| |
| . Dynamic memory allocation means memory allocation at runtime. |
| |
| |
|
| |
| |