What is a good metaphor for c memory management?

Posted by fsmc on Stack Overflow See other posts from Stack Overflow or by fsmc
Published on 2010-05-24T22:34:58Z Indexed on 2010/05/24 22:41 UTC
Read the original article Hit count: 171

Filed under:
|
|

I'm trying to find a good metaphor to explain memory allocation, initialization and freeing in c to a non technical audience. I've heard pass-by-reference/value talked about quite well with postal service usage, but not so much for allocation/deallocation.
So for I've thought about using the idea of renting a space might work, but I wonder if the SO crew can provide something better.

© Stack Overflow or respective owner

Related posts about c

    Related posts about memory-management