127. Arithmetic Edge Cases-I

Question.6

A developer computes the average of two uint8_t ADC readings:

uint8_t a = 200, b = 180;
uint8_t avg = (a + b) / 2;
printf("%u", avg);

What is the output?

Need Help? Refer to the Quick Guide below

Select Answer