#include <stdio.h>
#include <string.h>
#define N 100
int main()
{
int n, i, j, k, len;
char s1[N], s2[N], s3[2 * N];
printf("main string:");
gets(s1);
printf("sub string:");
gets(s2);
len = strlen(s1);
do
{
printf("site of begining:(<=%d)", len);
scanf("%d", &n);
}while (__________);//第17行
for (i = 0; i < n; i++)
{
s3[i] = s1[i];
}
for (j = 0; s2[j] != '\0'; j++)
{
__________________;//第25行
}
for (________; s1[k] != '\0'; k++) //第27行
{
________________;//第29行
}
s3[j + k] = '\0';
printf("After instert:%s\n", s3);
return 0;
}
能给个大致思路吗?完全不知道填。谢谢!