How do uint8 and int8 differ even though each represents 256 values?
uint8
int8
Both range from -128 to 127.
-128
127
uint8 stores only negative values, while int8 stores only positive values.
uint8 ranges from 0 to 255, while int8 ranges from -128 to 127.
0
255
int8 uses twice as many bits as uint8.