C++ · Pointers and references
Array indexing is pointer arithmetic underneath, which explains why arrays passed to functions behave the way they do.