how to find string length wihtout using c function?

Answer Posted / ivr

char *a="india";
for(i=0;a[i]!='\0';i++);
printf("the length is :%d",i);

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by c?

590


Why does everyone say not to use scanf? What should I use instead?

682


Who developed c language and when?

587


Can we change the value of #define in c?

587


What is call by value in c?

559






Is c is a low level language?

566


Does sprintf put null character?

604


What is meant by errors and debugging?

649


What is the acronym for ansi?

631


What do you mean by invalid pointer arithmetic?

637


plz let me know how to become a telecom protocol tester. thank you.

1743


What is #include stdio h and #include conio h?

603


What is graph in c?

585


What is define c?

575


List some applications of c programming language?

553