Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#20·Cpp_Primer_Practice

习题3.9使用下标访问空字符串

Author: blacklzxCreated Apr 3, 2021Updated Jan 19, 2023

既然空字符串存在1个元素\0,使用下标0去访问它应该是合法的,经检验也是可行的。

Source: applenob/Cpp_Primer_Practice

View original on GitHubView discussion on GitHub