const char *ptr; (char类型不能变) char const *ptr; (从ptr地址取出来的内容不能变) char * const ptr; (ptr地址不能变) 如有异议,请留言,我们一起在讨论中成长 :)