Fill in the blanks with the indicated values use to indicat
Fill in the blanks with the indicated values (use ? to indicate an unknown float height = {5.8, 6.1, 6, 5, 5.4}; height[1] age [3] height[4] age[4] age[0] Which ONE of the following is an invalid way to declare an array? Explain why. int miles = {245, 509, 1013, 314}; int miles; int miles[4] = {245, 509, 1013, 314}; int miles[5];
Solution
5.
height[1] = 6.1
age[3] = 17
height[4] = 0.0
age[4] = 19
age[0] = 18
6.
int miles[]; is invalid as the size of array is not declared .
![Fill in the blanks with the indicated values (use ? to indicate an unknown float height = {5.8, 6.1, 6, 5, 5.4}; height[1] age [3] height[4] age[4] age[0] Whic Fill in the blanks with the indicated values (use ? to indicate an unknown float height = {5.8, 6.1, 6, 5, 5.4}; height[1] age [3] height[4] age[4] age[0] Whic](/WebImages/15/fill-in-the-blanks-with-the-indicated-values-use-to-indicat-1023692-1761529760-0.webp)