选择题
下列语句中错误的是
A、
const int a;
B、
const int a=10;
C、
const int*point=0;
D、
const int*point=new int(10);
【正确答案】
A
【答案解析】
此题考查的是符号常量的概念。 符号常量必须在声明的同时赋初值, 故选项A)错误。
提交答案
关闭