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

A football team loses 4 yards on one play and 7 yards on another play. Write a sum of negative integers to represent this situation. Find the sum and explain ho
Write a number story to fit this number sentence. 20- (3x6) =2​
calculate the radius of a circle if it's area is 153.9 ​
J'aime visiter le zoo parce que les animaux sont beaux et intéressants is this grammatically correct?
In the United States, it is possible for someone to give a gift up to how much money per year to another person without that money being taxed?
What is the answer to this quation
Pls help me with this
QUICK SOLVE FOR X !!!!
What is the discriminant of 9x^2+2=10x^2
Please help a girl out I’m so confused