new int[n]
The new operator returns a reference (pointer) to the first element in the array, rather than the array itself.