您的位置:首页 > 其它

【C Prime Plus】学习笔记,Chapter 12, 指针常量和常量指针

2012-02-02 01:58 363 查看
关于中文翻译过来的"指针常量"和"常量指针" 叫起来还真顺口,颠倒一下都顺口,反导致记不住其真实差别,好像类似这样AB /BA 结构的东西第一次记错后,后面就无法纠正了,反正我是经常一段时间后就忘记了。

一句简单的英文 就能解决了这个问题:

In short,a const
anywhere to the left of the * makes the date constant,and a
const to the right of the * makes

the pointer itself constant.

//---











Page 882-884
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: