0xa
0xa is a hexadecimal literal commonly used in programming to denote the value ten (decimal). It is formed by the 0x prefix, which signals that the following digits are in base 16, where the single hex digit A represents decimal 10.
In hex notation, digits 0–9 represent values 0–9, and letters A–F (case-insensitive) represent values 10–15. Therefore
A related concept is the ASCII/Unicode encoding of the value 10. The byte 0x0A (hex) corresponds to
In practice, 0xa is interchangeable with 0xA and 0x0a in most codebases; the differences are purely stylistic.