Let's say I have this function that I use to change some values in an instance of the class employer. I pass the instance by reference.
Q1) Is it possible to call calc_employer (Employer& emp) from within set_employer() to make some calculations and replace numerical values of the instance?
Q2) When control returns to set_employer(), will the changes made by calc_employer be available
Q3) Why should I avoid doing this?