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 c mainly used for?
Is c easy to learn?
What is pass by reference in c?
How important is structure in life?
Write the syntax and purpose of a switch statement in C.
What are the application of void data type in c?
What is integer constants?
What is meant by recursion?
Explain what is page thrashing?
write a program to rearrange the array such way that all even elements should come first and next come odd
Can math operations be performed on a void pointer?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
string reverse using recursion
What is a stream water?
Where static variables are stored in memory in c?