题目内容

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

The initialization rules of arrays are the same for the local arrays and global arrasy.

A. 对
B. 错

The values of local auto arrays are undefined without explicit initialization.

A. 对
B. 错

答案查题题库