阅读背景:

const的常见用法

来源:互联网 

1.用于定义常量变量:

const int Val = 10;
Val = 20; //错误,不可被修改



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: