首页 › 答案 › 题库 › 远程教育 › 国家开放大学

要利用const保留字定义整型常量ABC的值为10,则对应的定义语句为()。

要利用const保留字定义整型常量ABC的值为10,则对应的定义语句为()。
A.constintABC10;
B.constintABC,10;
C.constintABC;10;
D.constintABC=10;
正确答案:D