15. Bitwise Operations-II

Question.5

A firmware developer writes the following code:

uint8_t a = sensor_val;
uint8_t b = calibration_val;
a ^= b;
b ^= a;
a ^= b;

What firmware technique is this code demonstrating?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!