顶层const可以表示任意的对象是常量,例如表示指针本身是个常量。 底层const表示指针指向的对象是一个常量。 转载于:https://www.cnblogs.com/listia/articles/8634443.html