Question.2
A developer adds two int8_t sensor offsets:
int8_t
int8_t a = 120; int8_t b = 10; int8_t c = a + b; printf("%d", c);
What does the C standard say about the value of c?
c
Select Answer
130
-126 — wraps around in two's complement
Undefined behavior — signed integer overflow has no guaranteed result
The compiler clamps c to 127 (INT8_MAX)