C Program
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
char Strings[20];
printf("Enter any word ");
scanf("%s",&Strings);
int number = strlen(Strings);
printf("\nTotal number of letters in %s is: %d",Strings,number);
}
0 Comments:
Post a Comment