Hi,
try this..
int count=0;
char *str;
puts("ENter string");
gets(str);
while(str!='\0')
count++;
printf("lenght of the string is %d",count);
BBYE..
--- Anand chakru <[EMAIL PROTECTED]> wrote:
> [Mod - Would people please change the subject of
> mails when changing the topic? - PJH]
> Can you people say, How to find the length a string
> withouy using the predefined functions (strlen)????
>
>
>
> Is there any other way even without using a loop????
>
>
>
> ---------------------------------
> Do you Yahoo!?
> All your favorites on one personal page � Try My
Yahoo!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/