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 |
Which weighs more, a gram of feathers or a gram of gold?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
Write a program to show the change in position of a cursor using c
What is c language used for?
what is call by value and call by reference
What is meaning of tree
Can you please explain the scope of static variables?
Did c have any year 2000 problems?
write a program to find out prime number using sieve case?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
code for selection sort?
what is a static function