Back to Browse

Why Arrays Are Zero Indexed

14.2K views
Nov 5, 2013
12:41

Covers why arrays are zero indexed and start at zero. Arrays in C and C++ are zero-based because array names indicate the address of the first element. Arrays are zero based in other languages like C# and Java for historical reasons, and it's just easier to work with once you are used to arrays being zero-based.

Download

0 formats

No download links available.

Why Arrays Are Zero Indexed | NatokHD