I have an assignment which asks me to "Make sure to pass the array as a constant reference parameter"....what exactly does this mean? What's it asking me to make sure I do?
By reference they probably mean you should pass the array by reference (&). constant meaning it should be a reference to a const array. That is so you can't make changes to the array.
<TYPE-ID>: Is the type which shall be referred to. <ID>: Is the name of the reference. You'll use this to refer to the array. <LENGTH>: The amount of elements in the array. This is required.