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

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

LANGUAGE: C++

CHALLENGE:

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

SOLUTION:

999

CHALLENGE:

Consider the declaration: int v[1]; What is the index of the last element of this array?

SOLUTION:

0

Add comment