Answer

Because, from the subroutine's point of view, we didn't access beyond the bounds of the array! In the final case, for example, we declared that the upper bound of the array was 100, and we never accessed beyond the 100th element.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu