题目内容

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.

The correct description of one-dimensional integer array a is ( ).

A. int a(10);
B. int n=10,a[n];
C. int n; scanf(“%d”,&n); int a[n];
D. #define SIZE 10 int a[SIZE]

When an array name is used as a function actual parameter, the value of the first element of the array is passed.

答案查题题库