Answer:
Question 1:
Ans: index
Index is a unique position to identify a particular value in an array.
Question 2:
Ans: Element
Element is the individual value present in the array. An array is used to store one or more element.
Question 3
Ans: String
We can find from the question that the value is enclosed within "" (double quotes). So, the value added to the array is string. Any value that is enclosed within double quotes are termed as string.
Question 4:
Indexes are always int. Array index are never float. This is because, it represent the position.
Question 5:
The output will be 3. The reason is there are 3 values appended to the array "stuff" in the given piece of program.
Question 6:
The given code is an example of initializer list. Price is a list variable where the values are initialized.
Step-by-step explanation: