Which of the following statements about initializing an array is false?

A. Initializer values are stored in braces.
B. Initializer values must be separated by commas.
C. Data can be stored in a variable-length array when it is defined.
D. It is a compiler error to specify more values than there are elements in the array.
E. If the number of values provided is fewer than the number of elements, the unassigned elements are filled with zeros.


Answer: C

Computer Science & Information Technology

You might also like to view...

Describe visible light communications (VLC).

What will be an ideal response?

Computer Science & Information Technology

If you wanted to find which value occurs most often in a cell range, you would use the ________ function

A) MEDIAN B) MEAN C) MODE.SNGL D) AVERAGE

Computer Science & Information Technology

Common properties for multiple controls may be set by performing which of the following tasks?

A. select each control separately and change the properties B. select adjacent controls only using the Ctrl key and the mouse; then change the properties for adjacent controls one at a time C. select adjacent and nonadjacent controls using the Ctrl key and the mouse; then change the properties for all controls at once D. change the properties to apply to all controls then select the controls by clicking on the controls with the mouse

Computer Science & Information Technology

A desktop computer's system unit that houses the motherboard is referred to as a(n) _____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology