&arr
creates a pointer to the array - it's of type int (*)[3]
, and points at the array arr
.
*&arr
dereferences that pointer - it's the array itself. Now, what happens now depends on what you do with it. If you use *&arr
as the subject of either the sizeof
or &
operators, then it gives the size or address of the array respectively:
printf("%zu\n", sizeof *&arr); /* Prints 3 * sizeof(int) */
However, if you use it in any other context, then it is evaluated as a pointer to its first element:
int *x = *&arr;
printf("%d\n", *x); /* Prints 1 */
In other words: *&arr
behaves exactly like arr
, as you would expect.