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
How can I read a binary data file properly?
What are the features of c language?
application attempts to perform an operation?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
How is a null pointer different from a dangling pointer?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What is the difference between the = symbol and == symbol?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
Explain what are run-time errors?
What is the difference between memcpy and memmove?
how we can make 3d venturing graphics on outer interface
Explain what is the stack?
What is c variable?
What is the use of #define preprocessor in c?
What are the advantages of Macro over function?