当我声明一个char *固定的字符串并重用指针指向另一个字符串
/* initial declaration */
char *src = "abcdefghijklmnop";
.....
/* I get the "warning: assignment makes integer from pointer without a cast" */
*src ="anotherstring";
Run Code Online (Sandbox Code Playgroud)
我试图重铸指针但没有成功.