Why indexing in an array starts at zero
Recently a curious intern at work asked why indexing in an array starts at zero. My explanation to him was that it pertains to offsets from the address of the start of the array. While this is an acceptable answer, it is not the only explanation as to why many programming languages (even those without… Read More »