C program source code to print string length using strlen
C program source code to print string length using strlen
Write a C program to print string length using strlen
C Program source code
#include<stdio.h> #include<conio.h> #include<string.h> int main() { char name[100]; printf("Enter the character:"); gets(name); int k; k=strlen(name); printf("The length of the string is:%d",k); getch(); return 0; }
You can Browse related article below for more information and program code related to string function
Does above is helpful , Post you views in comment
Comments
Post a Comment