What is the library function in c++ to use strlen?
Answers
Answered by
0
size_t strlen( const char* str ); The strlen() takes a null terminated byte string str as its argument and returns its length. The length does not include the null character. If there is no null character in the string, the behaviour of the function is undefined. It is defined in <cstring> header file.
Similar questions