Question #261274

  1. What is the last index for an array declared and initialized as int numbers[ ] = {1,2,3,4,5,6};?
  2. What is the value of index three (3) for an array declared and initialized as int numbers[ ]={1,2,3,4,5,6};?
  3. What is the value of index two (2) for an array declared and initialized as char version = "Monterey"?
  4. What is the last index for an array declared and initialized as char version = "Monterey"?

Expert's answer

1 . last index is 5

2. Its index is 2

3. This is not an array

4. This is not an array



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS