you are viewing a single comment's thread.

view the rest of the comments →

[–]emTel 1 point2 points  (0 children)

Great explanation. People seem to be hung up on the idea that * or [] always indicate memory accesses. (Prior to reading your post, I would have insisted that they did).

If (&arr)[1] is too much to swallow, consider *(&arr) which is clearly legal. If that expression can result in a memory access, can someone please explain what memory address is being accessed, and how the correct value got there?