单选题

对于下列语句动态分配的内存,其释放语句正确的是

int *pa=new[10];

A.

delete pa[0];

B.

delete pa;

C.

delete *pa;

D.

delete Ipa;

发表评论

登录 后再回复