C++ · Functions

Pass by value

A function that changes its parameter seems to change the caller's variable, and in C++ it usually doesn't.