21ic电子技术开发论坛's Archiver
论坛首页
›
嵌入式操作系统论坛
› int const **pt;的问题
zhangyunsheng
发表于 2012-3-14 16:19
int const **pt;的问题
const用来修饰符号常量。
const int *pt;//表是pt所指向的内容是不能改变的。
int * const pt;//表pt本身的内容是不能改变的。
那么
int const **pt;//哪的值是不能改变的?
求高手们解答:
zhangyunsheng
发表于 2012-3-14 16:40
我试了一下,是**pt的内容不能更改,否则编译提示出错。而*pt的内容可以更改。
页:
[1]
查看完整版本:
int const **pt;的问题