#include#define N 4 void fun(int a[][N], int b[]) { int i; for(i=0;i
A. 1,2,3,4,
B. 1,0,7,0,
C. 1,4,5,9,
D. 3,4,8,10,
查看答案
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