标签:
1、new操作符和malloc函数
new int[4]
void* malloc(unsigned size)
malloc(4*sizeof(int))
void* calloc(unsigned nitems, unsigned size)
void* realloc(void *block, unsigned size)
C语言动态内存分配
原文地址:http://www.cnblogs.com/blogforTomSminth/p/5495158.html