is there a provision by which i can detect overflow in a variable during arithmatic operation
for example i use an unsigned char variable a to store the sum of b and c both unsigned chars. I want to detect if b+c is more that 255 (i.e more than what 8-bit number can store).

please help