题目内容

下列语句中,不能正确把字符串"prog"赋给数组a的语句是( )。

A. char a[]={'p','r','o','g','\0'};
B. char a[10]; strcpy(a, "prog");
C. char a[10]; a="prog";
D. char a[10]={"prog" };

查看答案
更多问题

有字符串a[80]和b[80],则正确的输出语句是( )。

A. puts(a,b);
B. printf("%s,%s",a[],b[]);
C. putchar(a,b);
D. puts(a),puts(b);

以下能对二维数组a进行正确说明和初始化的语句是( )。

A. int a( )(3)={ ( 1, 0, 1 ), ( 2, 4, 5 ) };
B. int a[2][3]={ { 3, 2, 1 }, { 5, 6, 7 } };
C. int a[][3]={ { 3, 2, 1 }, { 5, 6, 7 } };
D. int a[][3]={ ( 1, 0, 1 ), ( 2, 4, 5 ) };

All the following verbs can form acceptable collocations with the noun RELATIONSHIP except .

A. make
B. acknowledge
C. deepen
D. build

All the following adjectives can form acceptable collocations with the noun RELATIONSHIP except .

A. close
B. mutual
C. intimate
D. fluent

答案查题题库