char str1[LEN],str2[LEN]; int n; printf("Enter the string:\n"); gets(str1); printf("Enter the position ofthe string deleted:"); scanf("%d",&n); fun(str1,str2,n); printf("The new string is:%s\n",str2);
【参考答案】
void fun (char a[],char b[],int n) { int i,k=0;......