📌  相关文章
📜  指向常量的指针 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:52.142000             🧑  作者: Mango

代码示例1
//the data(value) pointed by the pointer is constant 
    const int *some_ptr {&number_1};
//the adress pointed by the pointer is constant 
      int *const some_ptr {&number1} ;