Question.1
A developer adds two 8-bit values and checks if the addition produced a carry out of bit 7 (overflow beyond 8 bits):
uint8_t a = 0xC0, b = 0x80;
uint16_t sum = (uint16_t)a + (uint16_t)b;
uint8_t carry = (sum >> 8) & 1;What are the values of sum and carry?