会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JessieM
博客园
首页
新随笔
联系
管理
订阅
2017年9月29日
指针和const
摘要: 指针指向常量,类似于常量引用,指向常量的指针(pointer to const)不能用于改变其所指对象的值; const 指针,指针本身为常量(const pointer),必须 初始化,指针的值不能改变 typedef int *pint;类型别名 const pint cpint = 0; //
阅读全文
posted @ 2017-09-29 12:00 JessieM
阅读(194)
评论(0)
推荐(0)
编辑
公告