const的使用

const定义一个常量,可以定义常量的类型

const int MAX=3;

 

posted @ 2017-10-31 10:43  追风少年Vip  阅读(187)  评论(0编辑  收藏  举报