Which of the following bitwise operator will you use to invert all the bits in a bit array?
(a) OR
(b) NOT
(c) XOR
(d) NAND
Origin of the question is Bit Array topic in division Arrays Types of Data Structures & Algorithms I
This question was addressed to me in exam.