摘要: const int * 和 int const * 等价于修饰值不可变(修饰int) int *const 表示引用不可变(修饰指针) // 引用 值 // 一个const const int *a = &value; // 不可变 可变 int * const b = &value; // 不可变 阅读全文
posted @ 2025-02-18 14:52 小兜兜me 阅读(1) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示