An array of 1000 integers is declared. What is the largest integer that can be used as an index to the array?