Pergunta de entrevista da empresa Lam Research

Why are arrays preferred to be 0 index based

Resposta da entrevista

Sigiloso

10 de nov. de 2020

Because index basically represents distance of an element from starting element/base address of the array. 1st element in the array is at 0 distance away, 2nd elements' distance from starting element or from base address is 2 and so on..