This is traditional in C family languages and array indexing starts at 0 in C++ and Java as well as C itself.