Hallo Michael,
Das 0x hat scheinbar die gleiche Wirkung wie wenn es überhaupt nicht da stünde. Warum schreibt man es (vermutlich standardmäßig??) trotzdem dazu, obwohl es scheinbar keine Bedeutung hat?
Es kennzeichnet die Zahl als Hexadezimalzahl, also nicht zur Basis 10 sondern zur Basis 16.
Dezimal: 0 1 2 ... 8 9 10 11 .. 15 16 17
Hexadezimal: 0x0 0x1 0x2 ... 0x8 0x9 0xA 0xB .. 0xF 0x10 0x11 .. 0x1A
Gruss, Thoralf
--
Sic Luceat Lux!
Sic Luceat Lux!