题目内容

What dimensional array can be viewed as a book of data tables?

A. one
B. two
C. three
D. four

查看答案
更多问题

Arrays can be declared either within or outside a function.

Which declares an array of three rows and four columns?

A. int val[3,4];
B. int val[4,3];
C. int val[3][4];
D. int val[4][3];

The outer braces in the initialization statement of a two-dimensional array can be omitted.

Which is a correct statement?

A. int grades[5] = {98, 87, 92, 79, 85};
B. int grades[5] = 98, 87, 92, 79, 85;
C. int grades[5] = (98, 87, 92, 79, 85);
D. int grades[5] = [98, 87, 92, 79, 85];

答案查题题库