In hexadecimal, we have 16 symbols to form numbers. Because 0-9 are not enough symbols, we also use A-F. And it starts at zero. So:
the number 4 in hexadecimal is 3
the number 12 in hexadecimal is B
This is not correct: The (decimal) number 4 in hexadezimal is also 4, due to dezimal and hexadezimal starting at zero.
The same mistake has happened in the second line: The (decimal) number 12 in hexadecimal is C.
This is not correct: The (decimal) number 4 in hexadezimal is also 4, due to dezimal and hexadezimal starting at zero. The same mistake has happened in the second line: The (decimal) number 12 in hexadecimal is C.