Discussion Forum : Operators
Question -

Which operator is used to invert all the digits in binary representation of a number?

Options:
A .  ~
C .  >>>
D .  ^
Answer: Option A

Unary not operator, ~, inverts all of the bits of its operand in binary representation.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *