stevenneedsanswers stevenneedsanswers
  • 24-04-2019
  • Computers and Technology
contestada

int [] val = { 3, 10, 44 };
val[1] = 55;


1) 55 10 44

2) 3 10 55

3) 3 55 10

4) 3 55 44

Q1

Respuesta :

adnhw
adnhw adnhw
  • 24-04-2019

Answer:

1)

Explanation:

val[1] represents the first value of the table 'val', which at first is 3. The table val is at first 3, 10, 44.

val[1] = 55; means that we just changed that first value (3) in the table to 55.

What's the table now?

55, 10, 44, rather than 3, 10, 44

Answer Link

Otras preguntas

Do you think the Palmer Raids were a valid approach for a government to take? Explain
why did colonists become increasingly unhappy with the british goverment?
Find the 40th term of this arithmetic sequence.
Neil had some olive oil.  He used 1/5 liter to make a salad dressing.  There was 1/2 liter of olive oil remaining in the bottle. What amount of olive oil did Ne
Do you think the Palmer Raids were a valid approach for a government to take? Explain
Why are Europe's clean energy sources important to the region?
There are 376 stones in three piles. The second pile has 24 more stones than the first. The third pile has twice as many stones as the second. How many stones i
Seb made a jump of two and a half meters Kirsty's jump was 10 centimeters longer how long was Kirsty's jump
What were the causes of the cold war?
Which sentence does not contain any punctuation errors?  A.The smoothie recipe includes the following, frozen berries, yogurt, and vanilla extract.  B.The smoot