原型声明:char strcpy(char dest, const char *src);
头文件:#include <string.h> 和 #include <stdio.h>
功能:把从src地址开始且含有NULL结束符的字符串复制到以dest开始的地址空间
说明:src和dest所指内存区域不可以重叠且dest必须有足够的空间来容纳src的字符串。
返回指向dest的指针
strcpy函数

相关文章:

  • 2022-01-25
  • 2021-10-12
  • 2022-01-26
  • 2022-02-25
  • 2022-12-23
  • 2021-04-04
猜你喜欢
  • 2021-06-03
  • 2021-08-29
相关资源
相似解决方案