SyntaxFix
Write A Post
Hire A Developer
Questions
In C and languages based on the C syntax, the prefix 0x means hexadecimal (base 16).
0x
Thus, 0x400 = 4×(162) + 0×(161) + 0×(160) = 4×((24)2) = 22 × 28 = 210 = 1024, or one binary K.
And so 0x6400 = 0x4000 + 0x2400 = 0x19×0x400 = 25K