[单选题]

下面的语句中错误的是

A.int a=5;int x [a];

B.const int a=5;int x [a];

C.int n=5;int*p=new int[a];

D.const int n = 5;int *p = new int[a];

参考答案与解析: