strlen() - String Handling Functions C Programming /*Write a program to print the length of String*/ #include #include #include void main() { char name[20]; int len=0; printf("Enter the Name: "); scanf("%s",name); len = strlen(name); printf("\n Length of String=%d",len); getch(); } Output is as : Enter the Name Bintu Length of String=5 Read more » Tweet Share Share Share Share Related Post
ConversionConversion EmoticonEmoticon