C++ · Pointers and references

Pointers and arrays

Array indexing is pointer arithmetic underneath, which explains why arrays passed to functions behave the way they do.