void two_three(int value_var, int &reference_var) { value_var=2; // value_var keeps its value until the end of the func reference_var=3; // the value of 3 is retained after the call to the func }