摘要: 这些函数包含在<stdlib.h>头文件中 malloc int* p = (int*)malloc(100 * sizeof(int));//最好能强制类型转换 malloc是申请空间 free是释放空间 他俩需要成对出现 calloc *void calloc( size_t num, size 阅读全文
posted @ 2022-05-06 20:27 starc的miao 阅读(128) 评论(0) 推荐(0)