Lately I started learning pointers and references in c++ (not just the usual use of them,but all kinds of ways,I don\'t want to have problems with them in near future).
&t is taking the address of the pointer t, not the address of the first element. The address of the first element is just t (as t is an int*, which points to the block of memory).