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
Can you apply link and association interchangeably?
Why we use conio h in c?
What is the significance of scope resolution operator?
Explain the difference between strcpy() and memcpy() function?
What is the heap?
Why is c platform dependent?
How can you find the day of the week given the date?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is stack in c?
What is function definition in c?
Can you think of a logic behind the game minesweeper.
Explain what are the different data types in c?
What is meant by errors and debugging?
What is line in c preprocessor?