Question: 1. Declare an array of five integers named boxes. 2. what do you type to access the third element in the boxes array? 3. what

1. Declare an array of five integers named boxes.

2. what do you type to access the third element in the boxes array?

3. what do you type to assign the number 10 to the 5th element in the boxes array?

4. Declare an array named cartons that contains these values: 4.2 , 3.1, 6.8

5. what is the subscript value of 6.8 in the cartons array?

6. what will this program output if is in a complete program?

cout<< carton[0] << cartons[1] << cartons[2];

7. what does it mean when a subscript or index value is out of bounds?

8. declare an array with 30 characters, each representing a code.

9. what is the 7th element in this array int [20]?

10. Declare an array of double - precision numbers named costs with 10 row and 25 columns.

help for c++..thanks you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!