In the following C++ functions:
void MyFunction(int age, House &purchased_house) { ... } void MyFunction(const int age, House &purchased_house)
You're correct, the only purpose of "const int age" is that age can not be changed. This can be however very confusing for most of programmers. So if these approach is not used widely in your code, I'd advice to omit const.