
字符串
文章平均质量分 75
adlics_r
这个作者很懒,什么都没留下…
展开
-
字符串,数组,堆,栈
【0、2、1、4、3、9、5、8、6、7】是以数组形式存储的最小堆,删除堆顶元素0后的结果是() A.【2、1、4、3、9、5、8、6、7】 B.【1、2、5、4、3、9、8、6、7】 C.【2、3、1、4、7、9、5、8、6】 D.【1、2、5、4、3、9、7、8、6】 正确答案: D 第二,堆是一种经过排序的完全二原创 2016-07-09 20:48:31 · 673 阅读 · 0 评论 -
自我实现字符串函数
字符串函数: 比较:strcmp; strncmp 拷贝:strcpy; strncpy 长度:strlen; 连接:strcat; 比较 #include int strcmp(const char *s1, const char *s2); int strncmp(const char *s1, const char *s2, siz原创 2016-07-16 15:17:07 · 343 阅读 · 0 评论