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 static variables in c?
What is wrong with this program statement?
What are pointers? What are stacks and queues?
Can you apply link and association interchangeably?
Where can I get an ansi-compatible lint?
why do some people write if(0 == x) instead of if(x == 0)?
Explain what are linked list?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
If null and 0 are equivalent as null pointer constants, which should I use?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
How do you list files in a directory?
how do you programme Carrier Sense Multiple Access
Which type of language is c?
How a string is stored in c?
write a program in c language to print your bio-data on the screen by using functions.