output:
a[]:10 sizeof(str):4 strlen:9
sizeof:计算所占的内存空间,用字节数表示。
strlen:
The strlen() function calculates the length of the string s, not including the terminating '/0' character.
output:
a[]:10 sizeof(str):4 strlen:9
sizeof:计算所占的内存空间,用字节数表示。
strlen:
The strlen() function calculates the length of the string s, not including the terminating '/0' character.