How to convert a binary number to Hexa decimal number??
(Note:Do not convert it into binary and to Hexadecimal)
Answer / vignesh1988i
let us take a binary number.. say :
0000000110101110 (16 bit number)
we already know it's the consersion to HEXA DECIMAL equivalent.... so split the numbers into 4 bits each... like,
0000 0001 1010 1110 (16 bit number)
and for converting directly there is a conversion called 8421 code...
8421 | 8421 | 8421 | 8421
0000 | 0001 | 1010 | 1110
now in the first pass it is zero (from left to right) , second it is 1 , in third it is 10 (A in hexa.) , in fourth it is 14 (E in hexa.)
thus the final representation for the above binary is : 1AE
thank u
| Is This Answer Correct ? | 12 Yes | 4 No |
how to print this pyramid * * * * * * * * * * * * *
code for concatination of 2 strings with out using library functions?
what does exit() do?
Describe wild pointers in c?
what are the interview question's in the language c
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What is pointer & why it is used?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
who invented c
What is the difference between typeof(foo) and myFoo.GetType()?
What is call by value in c?
What is the right type to use for boolean values in c?