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 5 types of organizational structures?
What is difference between %d and %i in c?
Explain #pragma statements.
What is infinite loop?
what value is returned to operating system after program execution?
c program for searching a student details among 10 student details
By using C language input a date into it and if it is right?
how to make a scientific calculater ?
Differentiate between a structure and a union.
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is structure packing in c?
application attempts to perform an operation?
Can you tell me how to check whether a linked list is circular?
What are predefined functions in c?