问题 单项选择题

下面的语句中错误的是( )。

A.int a=5;int x;

B.const int a=5;int x;

C.int n=5;int *p=new int;

D.const int n=5;int *p=new int;

答案

参考答案:A

选择题
单项选择题