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
相關文章
相關標籤/搜索