One’s complement in binary is defined as _________
(a) Flipping each binary bit
(b) Adding one to the binary number
(c) Flipping only bits having zero in it
(d) None of the mentioned
I got this question during an interview.
Question is from Number Theory topic in chapter Number Theory and Cryptography of Discrete Mathematics