83. Structures-ii

Question.3

A function configures a sensor using a pointer to a config struct:

typedef struct {
   uint16_t sample_rate;
   uint8_t  resolution;
   uint8_t  channel;
} SensorConfig;

void configure(SensorConfig *cfg) {
   cfg___ sample_rate = 1000;
   cfg___ resolution = 12;
   cfg___ channel = 3;
}

What operator goes in each blank?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!