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 |
Can we change the value of #define in c?
Code for calculating square root without using library function, of math.h
int x=sizeof(!5.856); What will value of variable x?
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
what will be the output of "printf("%d%d",scanf("%d% d",&a,&b))".provide an explation regarding the question
how should functions be apportioned among source files?
What is a spanning Tree?
If I have a char * variable pointing to the name of a function ..
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
consagous technology placement paper
What are the two types of functions in c?