在C语言中,字符串就是一个以\0结尾的char *。可以说是过于简陋了。在现代C++中,std::string和std::string_view提供了更高级的字符串抽象。
\0
char *
std::string
std::string_view