Comment on How to Think About Variables in CparentComments−bcoates13yMy mental model for C is symbol-referent diagrams like the first picture on http://www.exforsys.com/tutorials/c-language/c-pointers.htmlIf 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.−denniskubesOP13yThat is nice. I have seem different pointer diagrams but none that linked it to a memory list as that does. I like.
Comments
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.
That is nice. I have seem different pointer diagrams but none that linked it to a memory list as that does. I like.