https://stackoverflow.com/questions/2911089/null-terminating-a-string
strlen() can only return the number of bytes before it finds the '\0' character.
输出字符串之前, 必须保证字符串尾部为'\0',其余时候不用在意
https://stackoverflow.com/questions/2911089/null-terminating-a-string
strlen() can only return the number of bytes before it finds the '\0' character.
输出字符串之前, 必须保证字符串尾部为'\0',其余时候不用在意
本文标题:null terminated string
本文链接:https://www.haomeiwen.com/subject/prdxtftx.html
网友评论