How many elements does the following array have?

int values[1000];

a. 1000
b. 999
c. 1001
d. cannot tell from the code

a. 1000

Computer Science & Information Technology

You might also like to view...

Computer systems that fall into the ________ category have a set of processors that simultaneously execute different instruction sequences on different data sets.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In the code shown here, what is the correct array declaration for the array used in FillArray?

``` int FindAverage(float numbers[][25]); int main() { //declarations go here int total; total = FillArray(numbers); ``` A. int numbers[25]; B. int numbers[25][25]; C. float numbers[25][25]; D. float numbers[25];

Computer Science & Information Technology