To perform string operations without string library (Length) #include#include void main() { clrscr(); char s1[100]; cout<<"Enter the string:"; cin.getline(s1,25); int count=0; for(int i=0;s1[i]!='\0';i++) { if(s1[i]!=' ') count=count+1; } cout<<"The number of characters in the string are:"<     Source: geocities.com/cplusplussurvivalkit