Computer Science, asked by sudhamaduri6644, 1 year ago

What is dynamic memory allocation in c with examples?

Answers

Answered by S4MAEL
9

hyyy...

》The dynamic allocation of memory during the program execution is achieved through two built in functions malloc or calloc, realloc and free.
____
☆There is also sizeof() function used to determine the number of bytes occupied by an entity in memory. Let is look at the use of these functions through a couple of examples.
___
hope it helps°✔✔
Answered by sneha193262
0

Answer:

To solve this issue, you can allocate memory manually during run-time. This is known as dynamic memory allocation in C programming. To allocate memory dynamically, library functions are malloc() , calloc() , realloc() and free() are used. These functions are defined in the <stdlib.

Similar questions