Use of auto for an array of integers

is there an alternative for ‘auto’ used in the video?Like for a list of integers we can use list::iterator but what is it for an array of integers?if we use array::iterator it does not work