Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

all c language question

2374


What is floating point constants?

1079


Give differences between - new and malloc() , delete and free() ?

1039


Is return a keyword in c?

1028


What is the difference between test design and test case design?

2025


Why can’t we compare structures?

1225


Between macros and functions,which is better to use and why?

2111


What is the difference between fread buffer() and fwrite buffer()?

1105


What are preprocessor directives in c?

1031


What are local variables c?

956


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

1184


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2772


What are variables c?

996


what is stack , heap ,code segment,and data segment

2631


What does main () mean in c?

1054