c++远航之const

const and basic type int x =3;//变量 const int x =3;//常量 const and ponint type 一重指针 1、const int *p =null ;等价于 int const *p=null; const 修饰的是 *p 不能动 2、int* const p=null; const修饰指针p 即p是常量且唯一,不能再指向其他地址 3、co
相关文章
相关标签/搜索