Friday, 27 April 2012

Find Length Of String Program IN C


#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
char a[20];
int l;
printf("Enter String =");
scanf("%s",a);
l=strlen(a);
printf("length of String=%d",l);
getch();
}

--------------------------------------------------------------------

No comments:

Post a Comment