WELCOME TO MY BLOG BY SHABEEB.K

C,C++ PROGRAMMING: FIND LENGTH OF A CHARACTER.

Search This Blog

Saturday, 3 August 2013

FIND LENGTH OF A CHARACTER.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char word[80];
int len;
printf("ENTER ANY WORD OR NAME\n");

scanf("%s",&word);
len=strlen(word);
printf("U HAVE ENTERED %d CHARACTERS\n",len);
}


                                                                   OUTPUT


BY SHABEEB KUPPANATH
contact in facebook
www.facebook.com/shabeeblive

No comments:

Post a Comment