strcat函数
-
strcat函数的作用是什么
strcat函数的作用:首先新建c语言的程序文件;然后用str函数复制一段话,将参数src字符串复制到参数dest所指的字符串尾部;最后使用strcat实现拼接字符串。 strcat函数的作用: 1、strcat是用来拼接字符串的,它会将参数src 字符串复制到参数 dest 所指的字符串尾部。回具…
-
strcat函数的作用是什么?
strcat函数的作用是将两个char类型连接,代码为【char d[20]=”Golden”;char s[20]=”View”;strcat(d,s);】其中d和s所指内存区域不可以重叠且d必须有足够的空间来容纳s的字符串。 strcat函数的作用…