Passing Arrays To Functions In Cpp