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.
C array does not need to be defined before use.