Hacker News new | ask | show | jobs
by bcoates 4800 days ago
My mental model for C is symbol-referent diagrams like the first picture on http://www.exforsys.com/tutorials/c-language/c-pointers.html

If you keep track of which boxes are and are not runtime memory cells, that should be enough to work out any particular C pointer problem except the pointer-array almost-equivalence mess.

1 comments

That is nice. I have seem different pointer diagrams but none that linked it to a memory list as that does. I like.