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 Index starts from Zero

Answers were Sorted based on User's Feedback



Why Array Index starts from Zero..

Answer / karthiga

In os the memory location starts with 0 only.Consider, if
we try to store the value at 1st location means we cant use
our os memory efficiently.That's why all the data type's
memory size are in even numbers.

Is This Answer Correct ?    2 Yes 3 No

Why Array Index starts from Zero..

Answer / tamil

I think may be 13th answer is correct

Is This Answer Correct ?    2 Yes 3 No

Why Array Index starts from Zero..

Answer / digvijay mishra

I think it dosen,t contain any appropriate answer. If i
will find the appropriate one then i post
it.................

Is This Answer Correct ?    2 Yes 3 No

Why Array Index starts from Zero..

Answer / priyanka

I think it is just a programming convention nothing more than that otherwise in c array index starts from 1 and can be compiled from the same compiler with which C
++ program can be.

Is This Answer Correct ?    1 Yes 2 No

Why Array Index starts from Zero..

Answer / sandeep

array start with zero index ,it have two main reason.
1>when we allocate a memory first element always store the
address .then u are able to communicate with next address.
example:a[i] put i=0,then it show the address ..

Is This Answer Correct ?    2 Yes 3 No

Why Array Index starts from Zero..

Answer / mohit

There are many language have array index is starting with
zero and one. The main reason of starting of array is index
is dynamically allocation of array size. Those language
follow the concept of array index is zero have dyanamicaly
allocation of memory and on the other hand starting with one
only have concept of staticlly allocaton.

Is This Answer Correct ?    0 Yes 1 No

Why Array Index starts from Zero..

Answer / san

Yes, first one is absolutely correct because before going
to array size we have to analyze the register settings.

Is This Answer Correct ?    11 Yes 15 No

Why Array Index starts from Zero..

Answer / ved prakash sharma

All Ans. are wrong.

Is This Answer Correct ?    16 Yes 22 No

Why Array Index starts from Zero..

Answer / guru

Simple answer, 0 is the starting number of natural numbers.

Be +ve always.. So no one will like to use -ve numbers more than the positive numbers.

You may thing above answer is wrong but the designer will consider above things in mind and creates the compiler.

Thanks,
GP

Is This Answer Correct ?    0 Yes 6 No

Why Array Index starts from Zero..

Answer / murukesan

i think 2nd answer is correct
'we can also
access the array elements as'i[a]' instead of 'a[i]' , &
this will not produce an error' is wrong

Is This Answer Correct ?    14 Yes 37 No

Post New Answer

More MFC Interview Questions

How we call a dialog in another dialog?

2 Answers  


Tell me the different controls in MFC ?

5 Answers  


1)How to create ToolTip in MFC?

2 Answers  


Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  


If there is more than 100 control in a window how we can change the Taborder of a controls

4 Answers   Satyam,


how do u identify RTTI in vc++

4 Answers   Siemens,


1)dynamic creation of a Button ?

2 Answers   TCS,


Difference between Cclint DC & Cpaint Dc

6 Answers   E Logic,


What is socket?

3 Answers  


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  


In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.?

3 Answers   Financial Technologies,


Categories