单选题

若使P指向包含30个整型元素的动态数组空间,则使用的定义语句为()。

Aint*p=newint[30]

Bint*p=newint(30)

Cint*p=new[30]

D*p=newint[30]

正确答案

来源:www.examk.com

答案解析