int *p = new int[2]; int *q = (int *)malloc(2*sizeof(int));
new/delete 与 malloc/free的区别
原文:http://www.cnblogs.com/yuyang0920/p/7219785.html