都进来看一下!答 案 为 什 么 是 A f g d 呢?
#include<stdio.h>#include<string.h>
void main()
{
char *p1,*p2,str[50]="ABCDEFG";
p1="abcd";p2="efgh";
strcpy(str+1,p2+1);
strcpy(str+3,p1+3);
printf("%s",str);
}
答 案 为 什 么 是 A f g d 呢?
2010-02-02 07:53