memset

1.void *memset(void *s,int c,size_t n) 总的做用:将已开辟内存空间 s 的首 n 个字节的值设为值 c。 2.例子 #include void main(){ char *s="Golden Global View"; clrscr(); memset(s,'G',6); printf("%s",s); getchar(); return 0; }  3.me
相关文章
相关标签/搜索