@arun.. If u have a copy of "the Ç prog lang" by dennis ritchie, then u can checkout for a simplified implemented version of malloc and free provided under section 8.7 (storage allocator)... It uses the same concepts as mentioned by @Don.
On Wednesday, 19 December 2012 22:02:06 UTC+5:30, Anuj Khandelwal wrote: > > Hi, > How can we implement our own Malloc() and free() function ? > > > -- > Anuj Khandelwal > Final Year Undergraduate Student > Department of Computer Engineering > Malaviya National Institute of Technology, Jaipur > India > +91-9711088177 > --