Assume an array “list” contains 5 elements: [1, 2, 3, 4, 5]. The value of the subscripted variable “list[2 - 1]” is ( ).
查看答案
The subscript “x” contained within square brackets “list[x]” can be any expression that evaluates a ( ).
A. integer
B. single-precision float
C. double-precision float
D. character
The declaration of an array should contain ( ).
A. The data type of the items in the array.
B. The array name.
C. The number of items in the array.
D. Values of the items in the array.
Each scalar variable can only store a single value at a time.
A. 对
B. 错
Values of a data structure can be decomposed into individual data elements.
A. 对
B. 错