C-Programmierung
Bitmuster Beispiele
← Hexzahlen | ● | Oktalzahlen →
Typ | Hex-Wert | Bitmuster | Dezimalwert |
---|---|---|---|
unsigned char | 0xFF | 11111111 | 255 |
signed char | 0xFF | 11111111 | −1 |
unsigned short int | 0xFFFF | 1111111111111111 | 65535 |
signed short int | 0×7FFF | 0111111111111111 | 32767 |
signed short int | 0×8000 | 1000000000000000 | −32768 |
signed short int | 0xFFFF | 1111111111111111 | −1 |
unsigned int | 0xFFFFFFFF | 11111111 … 11111111 | $2^{32}-1 = 4294967295 $ |
signed int | 0xFFFFFFFF | 11111111 … 11111111 | −1 |
← Hexzahlen | ● | Oktalzahlen →