单项选择题

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

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;