题目内容

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];

查看答案
更多问题

If an array has been declared as consisting of 10 elements and you use an index of 12, C will notify you of the error when the program is compiled.

Nested loops are especially useful when dealing with two-dimensional arrays because they allow the programmer to easily cycle through each element.

In a one-dimensional array in C, which is the index of the first element?

A. -1
B. 0
C. 1

Atomic data types can NOT be decomposed into simpler types.

答案查题题库