C-Designyourownfree()function今天我去面试,面试官问我这个,Tellmethestepshowwillyoudesignyourownfree()functionfordeallocatetheallocatedmemory.HowcanitbemoreefficientthanC'sdefaultfree()function?Whatcanyouconclude?我很困惑,想不出设计的方式。你们觉得呢?编辑:既然我们需要了解malloc()是如何工作的,你能告诉我编写我们自己的malloc()函数的步骤吗?您还需要自己的malloc才能使此功能有用,对吗?由于标准