//Lvxin1 - 1 memset.cpp //memset() 函数的使用
#include <stdio.h>
#include <string.h>
int main()
{
char str[] = "almost every programmer should know memset!";
double d;
memset(&d, 0, sizeof(d));
memset(str, '-', 7);
puts(str);
return 0;
}
标签:Lvxin1,函数,memset,str,使用,include From: https://www.cnblogs.com/blogofchensen/p/17425583.html