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...

Why array starts with index 0

Answer Posted / saurabh upman

Index is used as an offset value.Giving value 0 to the starting address means that we are 0 element far from the destination in a contigious memory arrangment.It makes the indexing a coherent offset to be assigned.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you list a file’s date and time?

1060


What is the difference between far and near ?

1189


Is a house a shell structure?

1158


How can you determine the maximum value that a numeric variable can hold?

1226


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2363


Explain what is output redirection?

1184


What does %c do in c?

980


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1024


Differentiate between ordinary variable and pointer in c.

1171


What functions are used in dynamic memory allocation in c?

1071


If I have a char * variable pointing to the name of a function ..

1165


What is a pointer and how it is initialized?

1151


Why is c so popular?

1161


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1059


What is size of union in c?

1014