8. References

Question.8

A firmware engineer changes a function signature from:

void log_reading(SensorData data);  // Before

to:

void log_reading(const SensorData &data);  // After

The SensorData struct is 64 bytes. What does this change achieve?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!