题目内容

Each element in the character array holds only one character.

查看答案
更多问题

If an array of characters contains more than one '\0', when encounter the first '\0' output will end.

If there is an array definition: char array[]="China"; then the space occupied by array array is ( ).

A. 4 bytes
B. 5 bytes
C. 6 bytes
D. 7 bytes

char s[10];s="abcd"; printf("%s\n",s); The result is ( ). (└┘ represent space)

A. abcd
B. a
C. abcd└┘└┘└┘└┘
D. Compilation failed

Each element in C array must be of the same data type.

答案查题题库