8. References

Question.1

A developer uses a reference to update a sensor calibration offset:

int offset = 10;
int &ref = offset;
ref += 5;
printf("%d %d", offset, ref);

What is the output?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!