C++ function call by reference

  • C++ function reference

  • do not return non-const reference

int GetFunc(){}
int& GetFunc(){}

Last updated

Was this helpful?