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
Explain what is the difference between the expression '++a' and 'a++'?
Can we access array using pointer in c language?
What 'lex' does?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Why do we use return in c?
Why do we use main function?
What is the return type of sizeof?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Explain two-dimensional array.
What are the functions to open and close file in c language?
What are two dimensional arrays alternatively called as?
Explain what is wrong in this statement?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What is nested structure in c?
Explain how can I avoid the abort, retry, fail messages?