Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

length of a string c++

string str ="hello world"; 
//different ways to find length of a string: 
str.length(); 
str.size(); 
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #length #string
ADD COMMENT
Topic
Name
3+3 =