Predefined function for Length of String in C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Predefined function for Length of String in C++?

and its header find too

27th Oct 2017, 2:41 PM
Ashutosh Purohit
Ashutosh Purohit - avatar
2 Answers
+ 6
just use the .length() method
27th Oct 2017, 2:45 PM
Cool Codin
Cool Codin - avatar
+ 1
strlen() in string. h strlen(string_name);
27th Oct 2017, 3:50 PM
Sahaj Bamba
Sahaj Bamba - avatar