ProgrammingVery hard

Reversing the 8 bits of 0b00010110 gives which value in decimal?

  1. A. 22
  2. B. 96
  3. C. 104
  4. D. 208

Correct answer: C. 104

The bit string 00010110 reversed is 01101000, which is 64 + 32 + 8 = 104.

More C Programming questions

Exams that ask this topic