摘要: 为了区分是指向常量的指针还是const指针(表示指针本身是常量) 一个简便方法:从由往左读,遇到p就替换为“p is a”,遇到*就替换为“point to”,其余不变。 const int * p ;// p is a point to int const ,p是一个指向常量的指针,指向的对象是一 阅读全文
posted @ 2019-08-24 18:09 SebastianHan 阅读(409) 评论(0) 推荐(0)