摘要: malloc是向系统申请分配指定size个字节的内存空间。返回值类型为void *类型。void *表示未确定的类型指针。C语言中,void *类型可以强制转换为任何其他类型的指针。 语法:void *malloc(unsigned int num_bytes); 参数:num_bytes是无符号整 阅读全文
posted @ 2015-10-27 20:28 和xin 阅读(334) 评论(0) 推荐(0) 编辑