Which operator is used to invert all the digits in binary representation of a number?
A. ~
B. <<<
C. >>>
D. ^
Answer:A
Which operator is used to invert all the digits in binary representation of a number?
A. ~ B. <<< C. >>> D. ^
Explanation: Unary not operator, ~, inverts all of the bits of its operand in binary representation.