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

Answers were Sorted based on User's Feedback



Why array starts with index 0..

Answer / 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

Why array starts with index 0..

Answer / gopesh dubey

Because the name of array is a pointer

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  


What is difference between %d and %i in c?

0 Answers  


Explain what is output redirection?

0 Answers  


Why do we need functions in c?

0 Answers  


program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5

8 Answers   Aptech, Infosys,


what is the structure?

4 Answers   TCS,


find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }

10 Answers   Amdocs, TCS,


what is array?

63 Answers   Amdocs, HCL,


sum of two integers values only other then integer it should print invalid input.

1 Answers  


Where static variables are stored in memory in c?

0 Answers  


What is the 'named constructor idiom'?

0 Answers  


How do you override a defined macro?

0 Answers  


Categories