int const *p和int *const的区别

int const *p也可以写成const int *p,表示指向的内容不可改变

int *const表示指针不能再指向其它的东西了

posted @ 2015-10-04 20:30  抢地主  阅读(202)  评论(0编辑  收藏  举报