vanwoos

#include <stdio.h>
#include <string.h>
void str_cpy(char * to, char *from)
{
    while ((*to++ = *from++) != \'\0\');
    return;
}
int main()
{
    char a[128];
    str_cpy(a,"hello");
    printf("a:%s\n",a);
    return 0;
}

分类:

技术点:

相关文章:

  • 2022-01-07
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-01-17
猜你喜欢
  • 2021-07-05
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
  • 2022-12-23
相关资源
相似解决方案