Hard
How free() knows the size of allocated memory
Filed under Salesforce
The question
Explain how the free() function in C knows the size of the memory block allocated by malloc.
No write-up yet. Related questions below have one.
Related Salesforce questions
Collected from public candidate posts and coding forums. Updated Nov 2026.