CP MB Q34

  • Option : D
  • Explanation :
    The sum (or bit-wise OR) of a number and its complement will be all 1's. How many 1's depends on how many bits are needed to represent the number. The sum is 220 - 1. then the sizeof(int) in bits must be 20.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *