Question: 10.When an ages array is correctly initialized using the values 120, 30, 40, 50, as in Question 8, then the value of ages [4] is

10.When an ages array is correctly initialized using the values 120, 30, 40, 50, as in Question 8, then the value of ages [4] is a. b. 4 c. 50 d. undefined 11. When you declare an array as int temperature 0, 32, 50, 90, 212, 451)the value of emperature.Lengthis a. b. 6 C. d. unknown 12. Which of the following doubles every value in a 10-element integer array named amount? a. for (int x = 9; x >= 0;-x) amount [x] *= 2; b. foreach (int, number in amount) number 2 c. both of these d. neither of these 13. Which of the following adds 10 to every value in a 16-element integer array named points? a. for (int sub 0 sub > 16; ++sub) points[ub10; b. foreach (int sub in points) points10; c. both of these d. neither of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
