Popular Posts

Friday, December 31, 2010

How free(pointer) works?

MMU(Memory Management Unit) simply stores the number of bytes allocated at say p location and then you get to store the content starting from p th position up till n bytes.
So when free(p) is to be used MMU simply sees the values stored at p and deallocates that much amount of bytes.

No comments:

Post a Comment