Why are arrays in C++ (and C) indexed from 0?

  1. Because it's a natural place to start.
  2. Because Kernighan and Ritchie had no fingers.
  3. Because that's the way it's gotta be.
  4. Because the indexes represent offsets from the first element.

Answer: Because the indexes represent offsets from the first element.