Home » C Programming » Data Types » Question
  1. The binary equivalent of 5.375 is
    1. 101.101110111
    2. 101.011
    3. 101011
    4. None of the above
Correct Option: B

5 in decimal = 101 in binary. ---- (i)

0.375 * 2 = 0.750
0.75 * 2 = 1.500
0.5 * 2 = 1.000

Consider,only the decimal part from top to bottom ( 0 1 1)
so 0.375 in decimal is equivalent to .011 in binary. -- (ii)

from (i) & (ii)
5.375=101.011




Your comments will be displayed only after manual approval.