Sail E0 Webinar
Question
Which operator is used to invert all the digits in binary representation of a number?
Options:
A .  ~
B .  >>>
C .  ^
Answer: Option A


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



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers