How can i send arrays to a function?

example i have an array with 400 elements containing random numbers how can i send those to a function, say to add 1 to each them?