[C] 存值到存储区 →→→→→进入此内容的聊天室

来自 , 2020-12-22, 写在 C, 查看 112 次.
URL http://www.code666.cn/view/130f1a8e
  1. #include <stdio.h>
  2. #include <alloc.h>
  3. #include <mem.h>
  4.  
  5. int main(void)
  6. {
  7.    char *dest;
  8.  
  9.    dest = calloc(21, sizeof(char));
  10.    setmem(dest, 20, 'c');
  11.    printf("%s\n", dest);
  12.  
  13.    return 0;
  14. }
  15.  

回复 "存值到存储区"

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

captcha