The one’s complement of 110010101 is:
(a) 001101010
(b) 110010101
(c) 001101011
(d) 110010100
I have been asked this question in an interview for job.
Question is taken from Bitwise topic in division Precedence and Associativity, Bitwise & Boolean of Python