Question.4
A developer passes a large sensor data struct to a processing function via const reference:
struct SensorData {
float accel[3];
float gyro[3];
uint32_t timestamp;
}; // 28 bytes
void process(const SensorData &data) {
data.timestamp = 0; // Reset timestamp
// ... process accel and gyro ...
}Will this compile?