第二个const变量是错误的,详情请看c++ primer 5th P56。应该为: 指针常量(底层const):指针所指的对象不可变 常量指针(顶层const):指针不可变
1 1

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务