请编写函数fun(),该函数的功能是:将放在字符串数组中的M个字符串(每串的长度不超

题型:多项选择题

问题:

请编写函数fun(),该函数的功能是:将放在字符串数组中的M个字符串(每串的长度不超过N),按J顷序合并组成一个新的字符串。
例如,若字符串数组中的M个字符串为

AAAA
BBBBBBB
CC
则合并后的字符串内容应该是AAAABBBBBBBCC
注意:部分源程序给出如下。
请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。
试题程序:
#include <conio. h>
#define M 3
#define N 20
void fun (char a [M] [N], char *b)

main ( )

char w [M] [N] ="AAAA", "BBBBBBB", "CC", i;
char a[100]=" ####################";
printf ("The string: \n ");
for (i=0; i<M; i++)

puts (w[i]);
printf (" \n ");
fun (w, a);
printf ("The A string: \n ");
printf("%s ",a);
printf("\n\n ");

考点:计算机等级考试C语言二级C语言机试
题型:多项选择题

It’s no long a question now ____men can land on the moon.

A.that

B.which

C.whether

D.what

题型:多项选择题

下列程序的输出结果是( )。  interface Inter{  public final static int A=100;  }  class My implements Inter{  public static void main (String args[ ])  {System.out.println(A) ;  }

A.100

B.0

C. A

D. 程序有错误

题型:多项选择题

什么是角色引导应如何操作

题型:多项选择题

不同成长阶段的自我认同感即使不一致,也不会产生自我认同危机。

题型:多项选择题

增量分析定价法

更多题库