69,373
社区成员
发帖
与我相关
我的任务
分享
main()
{
char *s="hehe";
char *p="sdff";
while(*s++=*p++)
printf("%s",s);
}
int main()
{
int i=0;
char s[]="hehe";
char *p="sdff";
while(s[i++]=*p++)
;
printf("%s",s);
return 0;
}
int main()
{
char s[]="hehe"; //here
char *p="sdff";
char *pbuf = s;
while(*pbuf++=*p++) //here
;
printf("%s",s);
system("PAUSE");
return 0;
}
while(s[++i] != '\0')
s[i] = *p++;
int main()
{
char s[]="hehe";
char *p="sdff";
int i = -1;
while(s[++i] != '\0')
s[i] = p[i];
printf("%s",s);
system("PAUSE");
return 0;
}
main()
{
char *s="hehe";
char *p="sdff";
while(*s++=*p++)
;
printf("%s",s);
}