The signed char uses 7 bits to store values and 8th bit to store the sign. If all the seven bits contain 1 then the max value that can be stored is +127, then how is -128 stored in case of signed chars.
The signed char uses 7 bits to store values and 8th bit to store the sign. If all the seven bits contain 1 then the max value that can be stored is +127, then how is -128 stored in case of signed chars.
0x80 (€)Originally posted by Leo_Vinay
how is -128 stored in case of signed chars.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling