C语言实现将两个字符串连接起来输出(不使用 strcat 或 strncat 函数)

1.编写一个程序,将两个给定的字符串连接起来,要求不使用 strcat 或 strncat 函数。 #include <stdio.h> #include <strings.h> #include <string.h> int main(void) { char s1[100]; char s2[100]; bzero(s1, 100); // 将数组s1中的100个字节,清零 bzer
相关文章
相关标签/搜索