Computer Science, asked by nsanju655, 1 month ago

Clearly describe the functions of malloc, calloc, realloc and free functions.​

Answers

Answered by blossomcotton15
2

Answer:

relating to or affecting the human spirit or soul as opposed to material or physical things.Metals react with acids and displaces hydrogen from the acids to produce hydrogen gas and metal salt. If a matchstick is brought near the mouth of the tube containing the product of the reaction then we hear a pop sound. It is this hydrogen gas that burns with a pop sound.In general, acids react with metals to give salt and release hydrogen gas. In general, bases do not react with metals and release hydrogen gas

Hope it will helpful for you thanks!

Answered by Kuku01
4

Explanation:

Malloc() function is used to allocate a single block of memory space while the calloc() in C is used to allocate multiple blocks of memory space. Each block allocated by the calloc() function is of the same size. ... After the memory space is allocated, then all the bytes are initialized to zero

of an array. Initializes the elements to zero ...

Malloc(): Allocates the memory of requested size and returns the pointer to the first b...

Realloc(): It is used to modify the size of previously allocated memory space

Free(): Frees or empties the previously allocated memory space

Similar questions