Q:

how to convert 1012 (decimal) to 100C (hexadecimal)

When I try to convert the decimal value 1012 to hexadecimal, I get the value 3F4. However, in the class the teacher got the value 100C.
Could anyone tell me how that is possible?

A:

Well 12 in hexadecimal is C...
So 1 = 1, 0 = 0, 12 = C
1 0 12 = 1 0 0xC
That's the only way I can see it being possible.

