Why array starts with index 0
Answers were Sorted based on User's Feedback
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 |
How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
c language interview questions & answer
What is main () in c language?
what is the associativity of bitwise OR operator?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
what is the diffrenet bettwen HTTP and internet protocol
write a program to convert a expression in polish notation (postfix) to inline (normal)
What is the maximum no. of arguments that can be given in a command line in C.?
How would you print out the data in a binary tree, level by level, starting at the top?
Why we use conio h in c?
What is far pointer in c?