CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

malloc()

C Programming – Dynamic memory allocation

C language Programming provides functions to create and release memory dynamically. There are two types of functions ‘C’ provides: One type of functions allocates memory in the heap. malloc calloc realloc Other type of function(s) release the memory from the heap. free Now you will get the doubt; why release memory functions are required? Why […]

Scroll to top