Many compilers automatically set all elements of integer-valued and real-valued arrays to ____.

A. blanks
B. zeros
C. null
D. ones

Answer: B

Computer Science & Information Technology

You might also like to view...

The System.IO ____________________ includes the StreamWriter, for example.

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

Computer Science & Information Technology

Which of the following statements will declare a two-dimensional array called scores to be of the int data type and contain 2 columns and 3 rows, while also initializing all elements to 0?

A. int scores [1][2] = {0}; B. int scores [2][3] = {0}; C. int scores[3][2] = {0}; D. int scores[0] = {2, 3};

Computer Science & Information Technology