C语言 malloc、calloc、realloc的区别
摘要:
三个函数的申明分别是: void* malloc(unsigned size); void* realloc(void* ptr, unsigned newsize); void* calloc(size_t numElements, size_t sizeOfElement); 都在stdlib.h函数库内,它们的返回值都是请求系统分配的... 阅读全文
posted @ 2015-08-21 10:20 鹿我所录 阅读(748) 评论(0) 推荐(0)
浙公网安备 33010602011771号