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 is malloc and calloc?
List a few unconditional control statement in c.
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
Can we add pointers together?
What is null pointer constant?
What are pointers?
What is difference between arrays and pointers?
Explain the difference between null pointer and void pointer.
What is the difference between fread and fwrite function?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is function prototype in c language?
Explain what is the difference between null and nul?
What is a far pointer in c?
Explain how do you declare an array that will hold more than 64kb of data?
Explain how do you view the path?