0xD
0xD is the hexadecimal literal representing the value 13. The prefix 0x is used in many programming languages, including C, C++, Java, JavaScript, and Python, to indicate that the following digits are in base-16. When encountered in code, 0xD is interpreted as the integer 13.
In binary, 13 is 1101. As a 4-bit nibble, its representation is 1101, and in an 8-bit
Common uses of 0xD include serving as a numeric constant in source code, as part of larger
In ASCII and Unicode contexts, the decimal value 13 corresponds to the carriage return control character. Its
See also: hexadecimal notation, hex literals, ASCII control characters.