📜  如何在 C++ 代码示例中查找字符数组的长度

📅  最后修改于: 2022-03-11 14:44:52.568000             🧑  作者: Mango

代码示例3
Instead of sizeof() for finding the length of strings or character 
arrays, just use strlen(string_name) with the header file
#include    
it's easier.