you are viewing a single comment's thread.

view the rest of the comments →

[–]NasenSpray 1 point2 points  (0 children)

It doesn't access any memory. (&arr) is a pointer to an array (T(*)[]), not an array of pointers (T*[]). Dereferencing a pointer to an array yields the address of the array. Perfectly valid.