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
Is main a keyword in c?
What do you mean by recursion in c?
Can a variable be both const and volatile?
Explain the difference between structs and unions in c?
Explain why c is faster than c++?
How do I swap bytes?
Can we add pointers together?
Why does everyone say not to use gets?
How do you list files in a directory?
What is the difference between printf and scanf in c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Why do we use static in c?
How do I create a directory? How do I remove a directory (and its contents)?
What is a 'null pointer assignment' error?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values