Answers for "length of char array c++ in stdio.h"

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 "length of char array c++ in stdio.h"

Browse Popular Code Answers by Language