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 print 212 as Twohundreds twelve plz provide me ans soon
What is meant by int fun const(int a, int b) { .... ... }
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
Which is best book for data structures in c?
What is an arrays?
Write a program to find given number is even or odd without using any control statement.
What is a c token and types of c tokens?
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none
multiple of 9 without useing +,* oprator
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
How can you convert integers to binary or hexadecimal?
Are there constructors in c?