const char*的存储性是 static storage,生命周期是整个程序运行期间,所以字符串常量作为返回值是没有问题的。
const char*
static storage
若有收获,就点个赞吧
0 人点赞
让时间为你证明