movmem.c
来自「vc library 韩国语版 希望对大家又帮助」· C语言 代码 · 共 15 行
C
15 行
#include <mem.h>
#include <alloc.h>
#include <stdio.h>
#include <string.h>
void main()
{
char *source = "Korean girl is pretty";
char *destination;
int length;
length = strlen(source);
destination = (char *) malloc(length + 1);
movmem(source, destination, length);
printf("%s\n", destination);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?