In the expression

cout << score[i] << endl;
i is called the


index or subscript

Computer Science & Information Technology

You might also like to view...

When you access your Ofice 365 account _________________________, three choices are listed.

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

Computer Science & Information Technology

Fill in the code to complete the following method for checking whether a string is a palindrome.

``` public static boolean isPalindrome(String s) { if (s.length() <= 1) // Base case return true; else if _____________________________ return false; else return isPalindrome(s.substring(1, s.length() - 1)); } ``` a. (s.charAt(0) != s.charAt(s.length() - 1)) // Base case b. (s.charAt(0) != s.charAt(s.length())) // Base case c. (s.charAt(1) != s.charAt(s.length() - 1)) // Base case d. (s.charAt(1) != s.charAt(s.length())) // Base case

Computer Science & Information Technology

When creating a photo album, you can convert the ____________________ to black and white.

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

Computer Science & Information Technology

Which of the following statements declares a one-dimensional array containing two integer values?

A. int numbers[3] = {1, 2, 3}; B. char letters[2] = {‘a', ‘b'}; C. int characters[2] = {45, 87}; D. int ages[6] = {0};

Computer Science & Information Technology