Array Index: A simple question?
The array index for an array with n elements varies from 0 to n-1.
We are forced to use this indexing.
As we know indexing form 1 to n is quite simpler when analysing working programs and on output side.
I would like to know your views on how the position in an array must be entered by a user and what output position should be produced as output.
Whether to follow 0 to n-1 based input/output
follow 1 to n (pseudo masking) style?
I know that it is the program requirement that decides style.
But rather I would like to know the each of your style as a programmer. :)