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...

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

1) In most interactive operating systems adequate response time is the critical requirement. 2) One problem with a pure priority scheduling scheme is that lower-priority processes may suffer starvation. 3) FCFS performs much better for short processes than long ones. 4) Round robin is particularly effective in a general purpose time sharing system or transaction processing system. 5) The objective of a fair-share scheduler is to monitor usage to give fewer resources to users who have had more than their fair share, and more to those who have had less than their fair share.

Computer Science & Information Technology

What are the basic sections of a class in ActionScript?

What will be an ideal response?

Computer Science & Information Technology

To assist with feed management, you can use ____________________ to group related feeds.

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

Computer Science & Information Technology

A(n) ____________________ license permits others to use your work for noncommercial purposes.

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

Computer Science & Information Technology