0x1B3
0x1B3 is a hexadecimal integer literal commonly used in computer programming and digital systems. The prefix 0x signals that the digits that follow are in base-16, with the digits 1, B (which represents 11), and 3. In decimal, 0x1B3 equals 435; in binary it is 110110011 (or 000110110011 when written as a 12-bit value).
In programming languages that support hex literals (such as C, C++, Java, JavaScript, and Python), 0x1B3 is
Examples of usage include declaring a constant or performing arithmetic or bitwise operations:
- a = 0x1B3; // assigns decimal 435 to a
- (a & 0x0F) or (a | 0x0A) illustrate common bitwise operations involving hex literals
Notes on representation: the value of 0x1B3 is fixed at 435, regardless of how many digits are