Answer Posted / vrushali
Whenever we call malloc() for allocating memory. The value
of the starting address is stored in a virtual memory tables.
So whenever free() is called then using the starting memory
location free () will have an entry of the bytes allocated
and to be freed. It can do it using this entry then entry is
deleted also.
This is pure OS concept.
Please reply here if you are not able to understand my answer.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What are the 5 elements of structure?
All technical questions
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What will the preprocessor do for a program?
How can I read and write comma-delimited text?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
how to create duplicate link list using C???
What is zero based addressing?
What are the parts of c program?
Is c language still used?
Explain how do you declare an array that will hold more than 64kb of data?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is a far pointer in c?
What is "Hungarian Notation"?