这是我们课件上的一道题,我觉得很巧妙,所以就摘出来了:
int insert(char s[],char t[],int n){
strcat(t,s+n);
s[n]='\0';
strcat(s,t);
return n;
}
这是我们课件上的一道题,我觉得很巧妙,所以就摘出来了:
int insert(char s[],char t[],int n){
strcat(t,s+n);
s[n]='\0';
strcat(s,t);
return n;
}