问题 单项选择题

已知:int n=10;那么下列语句中错误的是( )。

A.int*p=new long[n];
B.int p[n];
C.int*p=new long(n);
D.int p[10];

答案

参考答案:B

判断题
单项选择题