About Lesson
Dynamic Memory Allocation
Memory for your program will be allocated at the time of the execution of the program.
Memory allocation determined at the time of the compiling is called as Static Memory Allocation
Memory allocation determined at the time of the execution of the program is called as Dynamic Memory Allocation
Static memory allocation is done inside Stack Memory
Dynamic memory allocation is done inside Heap
Dynamic Memory Allocation in C Language can be done using four predefined functions defined in stdlib.h
malloc()
calloc()
realloc()
free()