摘要: 1)先从const int i说起。使用const修饰的i我们称之为符号常量。即,i不能在其他地方被重新赋值了。注意:const int i与int const i是等价的,相同的,即const与int的位置无所谓。2)const int *p看例子:int i1=30;int i2=40;cons 阅读全文
posted @ 2015-09-10 10:40 Xavier_Tse 阅读(260) 评论(0) 推荐(0) 编辑