In short, don’t use a pointer to a string literal if you plan to alter the string.

笔记

原文地址:https://www.cnblogs.com/tianmochou/p/14583012.html