📄 tst_memcpy.c
字号:
#include <string.h>
#include <stdio.h> /* for printf */
void tst_memcpy (void) {
static char src1 [100] ="Copy this string to dst1";
static char dst1 [100];
char *p;
p = memcpy (dst1, src1, sizeof (dst1));
printf ("dst = \"%s\"\n", p);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -