Dynamic Memory Allocation:
malloc()
calloc()
Dynamic memory management refers to manual memory management. This allows you to obtain more memory when required and release it when not necessary.Although C inherently does not have any technique to allocate memory dynamically, there are 4 library functions defined under
<stdlib.h>
for dynamic memory allocation.malloc()
calloc()
0 comments:
Post a Comment