摘要: 指针指向常量,类似于常量引用,指向常量的指针(pointer to const)不能用于改变其所指对象的值; const 指针,指针本身为常量(const pointer),必须 初始化,指针的值不能改变 typedef int *pint;类型别名 const pint cpint = 0; // 阅读全文
posted @ 2017-09-29 12:00 JessieM 阅读(194) 评论(0) 推荐(0) 编辑