Answers for "find length of the character array in c++"

C++
1

c++ length of char array

char* example = "Lorem ipsum dolor sit amet";
int length = strlen(example);
std::cout << length << 'n'; // 26
Posted by: Guest on January-24-2021

Code answers related to "find length of the character array in c++"

Browse Popular Code Answers by Language