Answers for "find char array size 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

Browse Popular Code Answers by Language