If the number of initializers is less than the declared number of elements listed in square brackets, the initializers will set the remaining elements to ( ).
A. the value of the last element.
B. 0
C. undetermined values
D. depends on compilers
查看答案
The ASCII code of the NULL character code is ( ).
A. 48
B. 0
C. 100
D. -1
There are ( ) elements in the array “codes” with the following the declaration statement:char codes[] = “hello”;
A. 5
B. 6
C. 7
D. 4
The values of ( ) arrays are set to 0 by default at compilation time.
A. global
B. local static
C. local auto
The initializing elements of arrays must be included in braces and can consist of ( ).
A. constants
B. variables
C. expressions using only constants
D. any expressions