Step through C snippets and watch the stack, pointers, storage classes and malloc/free in a memory table.