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 |
User define function contain thier own address or not.
Write a simple program to find the size of different basic data types in C.
What is string concatenation in c?
What is identifiers in c with examples?
What are disadvantages of C language.
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
What is c system32 taskhostw exe?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
what is the full form of c language
write a progam to display the factors of a given number and disply how many prime numbers are there?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What are the features of c languages?