c='\0';return c;} 将b连接到a的后面,新字符串保存到a中:char *cat(char *a,char *b){ while (*a!='\0')a++;while (*b!='\0')(a++)=*(b++);a='\0';return a;}