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 are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is double pointer?
FILE PROGRAMMING
What is meant by operator precedence?
Why can arithmetic operations not be performed on void pointers?
Explain how many levels deep can include files be nested?
How can a program be made to print the line number where an error occurs?
What is structure in c definition?
define string ?
What is operator precedence?
What is the difference between memcpy and memmove?
Why c is called a mid level programming language?
What is the purpose of main() function?
Which is an example of a structural homology?
a c code by using memory allocation for add ,multiply of sprase matrixes