背八股时发现一般说指针常量是这种形式
int a = 5; int* const p = &a; //表示指针p本身是个常量,无法指向其它变量
但是看书时发现
使用哪种说法更符合规范?
暂无评论,快来抢首评~
相关推荐