A Simple C++ program to find the length of user entered string. - TopicsExpress



          

A Simple C++ program to find the length of user entered string. In this program we have used the two properties of Strings 1. The terminating character or end of string marker \0 and the special property of character array in which character identifier represents the address of first element of the character array(i.e string). # include #include #include int strlength(char*); int main() { char s1[20]; int length; cout
Posted on: Sat, 26 Oct 2013 01:09:38 +0000

Trending Topics



Recently Viewed Topics




© 2015