Explain zero based addressing.
Answer / Govind Singh Patel
Zero-based addressing is a method used for indexing arrays or lists in computer programming. In this method, the first element of an array or list is stored at position 0, instead of 1. This makes the indices consistent with the mathematical notation for sequences and allows for easy use of loop constructs.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to write a multi-statement macro?
write a programme that inputs a number by user and gives its multiplication table.
What are the salient features of c languages?
what is the difference between NULL & NUL keywords in C?
What is the memory allocated by the following definition ? int (*x)();
Write a program to find whether the given number is prime or not?
What is the difference between getch() and getche()?
Why are all header files not declared in every c program?
Which is best linux os?
What are the types of pointers in c?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Tell me when would you use a pointer to a function?