cosnt 的用法 区别
1. int const 和 const int 是完全一样的。
2.const char * cosnt p表示指向常量字符串的常量指针。表示p只能指向这块内存地址,而且此地址只想的串不能改变。
cosnt 的用法 区别
1. int const 和 const int 是完全一样的。
2.const char * cosnt p表示指向常量字符串的常量指针。表示p只能指向这块内存地址,而且此地址只想的串不能改变。