What is the one’s complement of this string “01010100”?
(a) 10101010
(b) 00110101
(c) 10101011
(d) 10101001
I have been asked this question in semester exam.
Question is taken from Logic and Bit Operations in portion The Foundation: Logics and Proofs of Discrete Mathematics