I'm new to programming in C and I was looking at some code. I was wondering what the following means:
adjust(&total, adjustmentFactor);
I know that total
and adjustmentFactor
are both doubles, but since that this function does assign output to a variable, I'm assuming that the function changes what total points to? If that's what it does, how would you change it if you were to implement adjust?