[Edu-sig] beginner trouble, indexing starting w/"0"

Bill Bradley senator@sgi.net
Fri, 30 Jun 2000 12:19:30 -0400

When I was teaching C++ I just explained that it was an "offset" 
in reality it is in C, the location of each element is calculated by
adding the offset*sizeof(type) to the pointer address of the array)
which seemed to satisfy those asking why arrays start with zero, but are
declared by size.