Arrays with variable subscripts

What happens if the user running our variable subscript demonstration program enters a value of 10? Of 11? Of -1? Why does it happen?


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.