[C] 移动一块字节 →→→→→进入此内容的聊天室

来自 , 2020-07-12, 写在 C, 查看 162 次.
URL http://www.code666.cn/view/96671501
  1. #include <string.h>
  2. #include <stdio.h>
  3.  
  4. int main(void)
  5. {
  6.   char *dest = "abcdefghijklmnopqrstuvwxyz0123456789";
  7.   char *src = "******************************";
  8.   printf("destination prior to memmove: %s\n", dest);
  9.   memmove(dest, src, 26);
  10.   printf("destination after memmove:    %s\n", dest);
  11.   return 0;
  12. }
  13.  

回复 "移动一块字节"

这儿你可以回复上面这条便签

captcha