in hex 12 is represented as c.
Chat with our AI personalities
112 = 70 hex
Yes. The hex equivalent is 3D and the binary is 111101. The decimal is 61.
00001001 can be written as 0000 1001 which is hex 09 and hence has a decimal value of 9
One way to accomplish this is to allow the printf statement to do the work for you. Example: printf("Decimal %d = hex %02x\n", number, number); Or you could use the windows calculator. Select the Dec radian, type your number in, then select Hex radian.
It is C