摘要: #include #include /* 学习数组的增删改查操作 */ int main() { double nums[] = {23, 43, 98, 57, 83}; int i, j;//循环变量 int numsLen;//数组长度 int index = -1;//待查找的元素下标 double element;//待查找的值 ... 阅读全文
posted @ 2017-11-27 13:41 freryc 阅读(519) 评论(0) 推荐(0) 编辑
摘要: 有关内存的思考题(积累中) void GetMemory(char *p) { p = (char *)malloc(100); } void Test(void) { char *str = NULL; GetMemory(str); strcpy(str, "hello world"); pri 阅读全文
posted @ 2017-11-27 10:05 freryc 阅读(240) 评论(0) 推荐(0) 编辑