magic wrote:
I was asked a question about the implementation of malloc(),
does anyone know the answer?
Maybe. What's the question?
Actually, it might be more apropos to ask this question in comp.lang.c,
since C++ generally uses new rather than malloc.
Cheers! --M