C++ · Pointers and references

Pointers as parameters

A function that is handed an address can change the caller's variable, which is how C code and many C++ libraries return extra results.