String Functions in C program
// using strlen length of word eg:wildcat ans: 7 #include<stdio.h> #include<conio.h> #include<string.h> main() { char msg[20]; int len; printf("Input message:"); scanf("%s",msg); { len=strlen(msg); printf("Length of the message=%d",len); } } // …
String Functions in C program Read More