#include <stdio.h>
#include <stdlib.h>
#define N1 100
#define N2 200
int main()
{
int i=0;
char source[N1]={'0'},target[N2]={'0'};
printf("请输入源字符串:");
gets(source);
printf("目标字符串为:");
puts(target);
for(;i<N1;i++)
{
target[i]=source[i];
}
printf("源字符串为:");
puts(source);
printf("复制源字符串后的目标字符串:");
puts(target);
return 0;
}