C的几个小程序和概念(also,Pointers on C)

C的几个小程序和概念(also,Pointers on C) 1、char *strncpy(char *dest, const char *src,int count) string.h 将字符串src中的count个字符拷贝到字符串dest中去 dest 等于src的前count个字符内容 返回指向dest的指针 int main() { char *s2="hello"; char s1[1
相关文章
相关标签/搜索