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
how many errors in c explain deply
What are c preprocessors?
What is difference between function overloading and operator overloading?
Can you apply link and association interchangeably?
What are examples of structures?
Where local variables are stored in c?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
How main function is called in c?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Why c language?
Why does notstrcat(string, "!");Work?
Explain high-order and low-order bytes.
What does do in c?
What is difference between stdio h and conio h?
Why is it that not all header files are declared in every C program?