256 (0 through 255)
Chat with our AI personalities
8
1 byte = 8 bits
8 bits if unsigned, 9 bits if signed
8
An N-bit integer holds 2N different values.For an unsigned integer, the range of values is 0..2N-1 thus.For a signed integer using 2s complement, the range is -2N-1..+2N-1-1.Therefore, the largest positive number that can be stored using 8 bits is 255.