Why does the standard of integer types in C require that the value of unsigned char not exceed (2 ^ CHAR_BIT) - 1 ? It is not clear why you need - 1 .
unsigned char
(2 ^ CHAR_BIT) - 1
- 1
Because the countdown always starts from scratch.
"Not exceeded" - this means that it can be equal. And how do you place the number 2 8 = 256 (= 100000000 in the bit representation) in 8 bits? ...
Source: https://ru.stackoverflow.com/questions/270983/More articles:Additional code [closed]How to add background for UIView?Link to the content of the second tab from another pageHow to run sublime in multiple browsers?Promotion Android application [closed]Enumerate array of elements without knowing its size.Repeated run of the programCSS late loadingHow to apply to one array from different forms?Intellij IDEA: create a GUI applicationAll Articles