Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

  1. a) arr[6]
  2. b) arr[7]
  3. c) arr{6}
  4. d) arr{7}

From the BB Assistant Programmer February 2023 – Written (BIBM) exam, question 16 of 37.

More from this paper