what are the various memory handling mechanisms in C ?
Answer Posted / venkatesh kr
In C Language we can use the malloc, calloc & ralloc for memory handling but if we use the above function we should free the memory when the memory is not required.It can be done by "free" function. And also one important point is, suppose if we allocate a memory for an structure and in the process time if the structure is not required the it should be removed by using the "free" function because the system or process will be get crashed on some situations.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a c token and types of c tokens?
praagnovation
Why static variable is used in c?
What is cohesion and coupling in c?
When c language was developed?
Process by which one bit pattern in to another by bit wise operation is?
How do you generate random numbers in C?
Explain that why C is procedural?
what is a function method?give example?
Why can't I perform arithmetic on a void* pointer?
List the difference between a "copy constructor" and a "assignment operator"?
How many main () function we can have in a project?
What does c mean in basketball?
What is an array? What the different types of arrays in c?
How can I convert a number to a string?