| February 02, 2007 13:12:04 |
#2 |
| |
Member Since: Visitor Total Comments: N/A |
RE: what is the meaning memory allocation & why we use... |
| Memory Allocation::According to the conceptual view the program instructions and global and static variable in a permanent storage area and local area variables are stored in stacks. The memory space that is located between these two regions in available for dynamic allocation during the execution of the program. The free memory region is called the heap. The size of heap keeps changing when program is executed due to creation and death of variables that are local for functions and blocks. Therefore it is possible to encounter memory overflow during dynamic allocation process. In such situations, the memory allocation functions mentioned above will return a null pointer. ......Avay |
| |