Linux C中字符拼接函数strcat():拼接字符串

函数原型:char *strcat(char *dest, const char *src);函数 函数功能:把src所指字符串添加到dest结尾处(覆盖dest结尾处的'\0')。指针 参数:dest 为目标字符串指针,src 为源字符串指针code 返回值:返回dest 字符串起始地址字符串 范例:原型 #include <stdio.h> #include <string.h> int ma
相关文章
相关标签/搜索