主要讲下这两者的区别及用法!高能区
const int* p 和 int const* p是完全等价的!const int* const p 和 int const const* p 是完全等价的!
下面举几个例子来分析:
int x
2020-05-11