Label the elements of a 3-by-5 one-dimensional array sales to indicate the order in which they are set to zero by the following program segment:


for ( row = 0; row < 3; row++ )
for ( column = 0; column < 5; column++ )
sales[ row ][ column ] = 0;



sales[ 0 ][ 0 ], sales[ 0 ][ 1 ], sales[ 0 ][ 2 ], sales[ 0 ][ 3 ],
sales[ 0 ][ 4 ], sales[ 1 ][ 0 ], sales[ 1 ][ 1 ], sales[ 1 ][ 2 ],
sales[ 1 ][ 3 ], sales[ 1 ][ 4 ], sales[ 2 ][ 0 ], sales[ 2 ][ 1 ],
sales[ 2 ][ 2 ], sales[ 2 ][ 3 ], sales[ 2 ][ 4 ]

Computer Science & Information Technology

You might also like to view...

What are the two aspects of the quality assurance process?    

A. Product assurance and process assurance B. Product testing and process assurance C. Product assurance and process verification D. Product testing and process verification

Computer Science & Information Technology

You can determine the highest subscript in a one-dimensional array by subtracting 2 from the number of array elements.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Numerical data is effectively presented in all of the following forms EXCEPT:

A) charts. B) tables. C) graphs. D) raw text.

Computer Science & Information Technology

The _____ gallery has a wide variety of preset formatting combinations for coloring pictures.

A. Color B. Design C. Style D. Format

Computer Science & Information Technology