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

admin2009-08-25  26

问题 下列语句中错误的是(  )。

选项 A、const int a;
B、const int a=10;
C、const int*point=0;
D、const int*point=new int(10);

答案A

解析 此题考查的是符号常量的概念。符号常量必须在声明的同时赋初值,故选项A)错误。
转载请注明原文地址:https://kaotiyun.com/show/KEjp777K
0

最新回复(0)