3 回答
TA贡献1802条经验 获得超6个赞
delete
new
.
delete []
new []
.
delete
new []
delete []
new
TA贡献1893条经验 获得超10个赞
delete[]
delete
operator delete[]
operator delete
typedef int array_type[1];// create and destroy a int[1]array_type *a = new array_type;delete [] a; // create and destroy an intint *b = new int;delete b;// create and destroy an int[1]int *c = new int[1];delete[] c; // create and destroy an int[1][2]int (*d)[2] = new int[1][2];delete [] d;
new
new type[]
new
operator new[]
N * sizeof(ElementType)
operator new[]
size_t
new
operator new
sizeof(T)
delete[]
operator delete[]
delete
operator delete
operator delete
operator delete
operator delete
operator delete
size_t
- 3 回答
- 0 关注
- 411 浏览
添加回答
举报