C-Programmierung

Bitmuster Beispiele

Hexzahlen | | Oktalzahlen

TypHex-WertBitmusterDezimalwert
unsigned char0xFF11111111255
signed char0xFF11111111−1
unsigned short int0xFFFF111111111111111165535
signed short int0×7FFF011111111111111132767
signed short int0×80001000000000000000−32768
signed short int0xFFFF1111111111111111−1
unsigned int0xFFFFFFFF11111111 … 11111111$2^{32}-1 = 4294967295 $
signed int0xFFFFFFFF11111111 … 11111111−1


Hexzahlen | | Oktalzahlen

Options: