C++ const 修饰指针
摘要:当 const 出现在 * 号左边的时候,指针指向的数据不可改变,但是指针本身的值可以改变; 当 const 出现在 * 号右边的时候,指针本身不能改变但是它指向的数据可以改变。 https://blog.csdn.net/weixin_44343008/article/details/107129
阅读全文
posted @ 2022-08-10 11:05
posted @ 2022-08-10 11:05