Answer:
1. cout << monthSales[9];
2. arr[VECTOR_SIZE - 2] = x;
3. cout << a[33];
Step-by-step explanation:
In the given question the programming language is not mentioned to write the statements, so the statements are written in C++ programming language.
1.
Although months are between 1-12. Therefore, in January we can mark as element 0, February as element 1, and so on. So October, which was initially 10, was numbered 9.
2.
The second to last dimension is the next to the last element. The final element is smaller than the actual vector scale. The next place to the last element would, therefore, be two less than the vector size.
3.
The last element of the vector array is one less than the total vector number since vectors start at 0.