×
BLUE
C++ strings function size() or length()


C++ strings function size() or length()
  11 May 2021
Read more Like this Post.
that return the length of string. this function is more usefull in cpp programming. length() function work same to same.
#include 
#include 

 int main(){
       std::string _some_str_ = "Hello To Blueterminal";
       std::cout << _some_str_.length() << std::endl;
 }
size() or length is function of string class which used for finding length of string in the variable. the size() and length function work same to same and used for finding limit of the strings.
Related Post's

cpp: functions   strings  
Not Loaded Zohaib Jozvi
0 11 May 2021
Read Latest Post.
Read other post.