Question.6
A function updates a sensor calibration offset. The caller needs to see the updated value:
void calibrate(int ___ offset) { ___ offset = *offset + 5; } int cal = 10; calibrate(&cal); // cal should now be 15
What goes in the two blanks?
Select Answer
* in both blanks
*
& in both blanks
&
* in the parameter, no operator in the assignment
& in the parameter, * in the assignment