naishaboyd8432 naishaboyd8432
  • 02-03-2020
  • Mathematics
contestada

When an ages array is correctly initialized using the values {20, 30, 40, 50}, then the value of ages[1] is _______________________. 20 30 undefined 0

Respuesta :

ibnahmadbello
ibnahmadbello ibnahmadbello
  • 03-03-2020

Answer:

ages[1] is 30

Step-by-step explanation:

The index of an array start counting from zero. So, based on the given array,

20 = index 0

30 = index 1

40 = index 2

50 = index 3

Therefore, ages[1] = 30

Answer Link

Otras preguntas

Solve the equation log 6x - 3 = -4
why a flat surface of a rectangular prism called faces?
Adam tried to compute the average of his 7 test scores. He mistakenly divided the correct sum of all of his test scores by 6, which yielded 84. What is Adam’s c
How do you pronounce the letter "X" in Spanish?
mike constructed a closed box that measures 2.5 feet long by 3 feet wide by 1.5 feet high. what is the total area of the material mike needs to construct the bo
THE EXPRESSION (TAN THETA) (CSC THETA) IS EQUAL TO?
How far does Franklin Roosevelt deserve his reputation as one of the greatest US presidents?
which is longer 635 millimeters or 535 centimeters ?
three things scientists learned about earth in beginning of 1800s
25% of what nember is 19