#include /** * Pass by Value and then return. * Return is by value also! * * @uthor gtowell * Created: March 2021 * **/ /** * PbV receiver. change the value then return it. * @param passed in param * @return the changed value * **/ int t(int gi) { printf("TF %d %d\n", gi, &gi); gi = 7; printf("TF2 %d %d\n", gi, &gi); return gi; } int main(void) { int gi = 5; printf("TM %d %d\n", gi, &gi); int gii = t(gi); printf("TM2 %d %d\n", gii, &gii); }