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;
}

分类:

技术点:

相关文章:

  • 2021-10-17
  • 2021-08-27
  • 2021-11-29
  • 2021-11-29
  • 2021-11-23
  • 2020-05-18
  • 2021-12-22
  • 2021-11-29
猜你喜欢
  • 2021-07-05
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
  • 2020-02-28
  • 2021-10-17
相关资源
相似解决方案